Skip to content

Instantly share code, notes, and snippets.

View caitriggs's full-sized avatar
👩‍💻

Cait Riggs caitriggs

👩‍💻
  • Seattle
View GitHub Profile
@caitriggs
caitriggs / get_BungieData.py
Last active February 2, 2023 02:06
Grab json data from Bungie API using python (PSN players)
import requests
import os
class BungieData(object):
'''
For the API calls below, no authentication is needed. You'll just need to have your Bungie API key exported in your bash profile
and named as BUNGIE_API_KEY to run the script as-is.
'''
def __init__(self, api_key):