Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- https://resttest.datazoo.com/api/Authenticate.json
- dict_items([('Content-Type', 'application/json')])
- {
- Username: notfuckingthisagain,
- Password: not this time!
- }
- send that shit using request.post()
- return is below as response.json()
- {'sessionToken': 'justincase', 'countries': [{'country': 'NewZealand', 'dataSources': ['Credit Bureau', 'Companies Office', 'DIA-Birth', 'DIA-Citizenship', 'DIA-Passport', 'NZTA Drivers License', 'DZ NAD', 'DZ Vehicle', 'LINZ Property', 'MVRVR-ALL', 'MVRVR-DOB', 'MVRVR-NAD', 'Yellow Pages', 'Watchlist AML']}]}
- pull the sessiontoken out using fucking dicts.
- justincase
- this is the key justincase
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement