Skip to content

Instantly share code, notes, and snippets.

@impshum
Created June 28, 2019 20:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save impshum/6ea829af1fa6f19035932189063d24db to your computer and use it in GitHub Desktop.
Save impshum/6ea829af1fa6f19035932189063d24db to your computer and use it in GitHub Desktop.
Alacalc session python
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