Created
September 16, 2019 18:20
-
-
Save KalebNyquist/d59edfa3edbca3ed04419d56ddcb6481 to your computer and use it in GitHub Desktop.
Medium Post Step 7
This file contains hidden or 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 json | |
upload_data = json.dumps(upload_dict) | |
headers = { | |
"Authorization" : "Bearer INSERT AIRTABLE USER API KEY HERE", | |
'Content-Type': 'application/json', | |
} | |
URL = 'https://api.airtable.com/v0/INSERT AIRTABLE DOC KEY HERE/Online%20Media%20Hits' | |
response = requests.post(URL, headers=headers, data=upload_data) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment