Rename MatchesAPI
This commit is contained in:
@@ -101,7 +101,7 @@
|
||||
3F933FF821E395AB00C0EEF3 /* API */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
3F49E949216BE87B0047B0FE /* MatchesAPI.swift */,
|
||||
3F49E949216BE87B0047B0FE /* LiquipediaMatchesAPI.swift */,
|
||||
);
|
||||
path = API;
|
||||
sourceTree = "<group>";
|
||||
@@ -133,7 +133,6 @@
|
||||
3F933FF721E3958000C0EEF3 /* Match */,
|
||||
3FB6BB47216B8594000BF5AA /* AppDelegate.swift */,
|
||||
3F49E947216B862B0047B0FE /* StatusBarController.swift */,
|
||||
|
||||
3FB6BB49216B8595000BF5AA /* Assets.xcassets */,
|
||||
3FB6BB4B216B8595000BF5AA /* MainMenu.xib */,
|
||||
3FB6BB4E216B8595000BF5AA /* Info.plist */,
|
||||
|
||||
@@ -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