Rename MatchesAPI
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
//
|
||||
// MatchesAPI.swift
|
||||
// LiquipediaMatchesAPI.swift
|
||||
// LiquipediaMenu
|
||||
//
|
||||
//This class scrapes the Liquipedia upcoming matches page. It extracts them and puts them into a [Match]? by, using the Match class as a data storage objet.
|
||||
// Created by Felix Förtsch on 08.10.18.
|
||||
// Copyright © 2018 Felix Förtsch. All rights reserved.
|
||||
//
|
||||
@@ -9,7 +10,7 @@
|
||||
import Foundation
|
||||
import SwiftSoup
|
||||
|
||||
class MatchesAPI {
|
||||
class LiquipediaMatchesAPI {
|
||||
|
||||
func fetchMatches(for game: String) -> [Match]? {
|
||||
let games = ["dota2", "starcraft", "starcraft2", "heroes", "counterstrike", "rocketleague", "rainbowsix", "overwatch"]
|
||||
Reference in New Issue
Block a user