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.
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
-