API¶
Direct¶
This API allows pushing and retreiving direct schedule for Netflix
Credentials¶
This API allows getting credentials for supported service providers, to be used by robots for automatic data scrapping.
- class s4gpy.api.credentials.CredentialAPI(session)¶
Wraps credential API.
- get_credentials(provider_name)¶
Get a tuple of containing credentials for the supplied provider, chosen at random
- get_credentials_all(provider_name)¶
Get a list of tuples containing credentials for the supplied provider.
- get_providers()¶
get a tuple containing the names providers for which we have at least a credential available
Consommation¶
This API allows accessing user-generated consumption data.
Netflix¶
This API provides access to content information published in the netflix platform
Users¶
This API provides access to users data.
Companies¶
This API allows accessing and pushing data about producing companies for a particular content.
- class s4gpy.api.companyapi.CompanyAPI(session)¶
This class wraps the company-mapper api.
- get_companies()¶
Get all the companies in the system
- get_company(id)¶
retreives information from a particular company, identified by its cc_code
- get_content(id)¶
retreives information form a particular content, identified by its cc_code
- get_contents()¶
Get all the contents in the systel
- get_root()¶
Get the root of the company mapping api
- push_company(id, name, link, country=None)¶
Publish a new company.
- push_content(id, company_names)¶
Publish a new content associated with some company names.
- updated_company_country(id, country)¶
Updates a company country