Created
June 28, 2019 20:16
-
-
Save impshum/6ea829af1fa6f19035932189063d24db to your computer and use it in GitHub Desktop.
Alacalc session python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
data = { | |
'email': 'XXXX', | |
'api_access_key': 'XXXX' | |
} | |
s = requests.Session() | |
s.post('https://www.alacalc.com/api/v1/sessions', data=data) | |
response = s.get('https://www.alacalc.com/api/v1/recipes').json() | |
print(response) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment