SCMClient
public class SCMClient
Main library class
-
Undocumented
Declaration
Swift
public init(apiKey: String) -
Get games list
Throws
SCMError.httpRequestErrorwhen request failedThrows
SCMError.jsonParseErrorwhen json response could not be parsedDeclaration
Swift
public static func gameList() throws -> [GameListGameField]Return Value
Array of games available on SCM
-
Search songs by query
Throws
SCMError.httpRequestErrorwhen request failedThrows
SCMError.jsonParseErrorwhen json response could not be parsedDeclaration
Swift
public static func search(_ query: String) throws -> [Song]Parameters
queryThe string to search
Return Value
Array of matching
Songs
SCMClient Class Reference