2012-07-29, 00:34
the ios app retrieves this url to get a country code.
api.crackle.com/Service.svc/geo/country?format=json
It looks like the app is hard coded to US country code. The paths below seem to only use the US.
api.crackle.com/Service.svc/geo/country?format=json
It looks like the app is hard coded to US country code. The paths below seem to only use the US.
Code:
API_URL = 'http://api.crackle.com/Service.svc/'
MOVIES = '/movies/all/US/50?format=json'
SHOWS = '/shows/all/US/50?format=json'
FEATURED = 'featured'
POPULAR = 'popular'
RECENT = 'recent'
BROWSE = 'browse/%s/full/all/alpha/US?format=json'
BROWSE2 = 'browse/%s/all/all/alpha/US?format=json'
SEARCHURL = 'search/all/%s/US?format=json'
HOMESLIDE = 'slideShow/home/us?format=json'
ORIGINALS = 'originals'
COLLECTIONS = 'collections'
CHURL = 'channel/%s/folders/US?format=json'
BASE_MEDIA_URL = 'http://media-us-am.crackle.com/%s_480p.mp4'
DETAILS_URL = 'http://api.crackle.com/Service.svc/details/media/%s/US?format=json'