Skip to content

Instantly share code, notes, and snippets.

@rileypredum
Created August 5, 2020 22:43
Show Gist options
  • Save rileypredum/f2d5dd42002cf2a327ab7d94943eeb23 to your computer and use it in GitHub Desktop.
Save rileypredum/f2d5dd42002cf2a327ab7d94943eeb23 to your computer and use it in GitHub Desktop.
EMSI - Global Skills List
def extract_skills_list():
all_skills_endpoint = "https://emsiservices.com/skills/versions/latest/skills" # List of all skills endpoint
auth = "Authorization: Bearer " + access_token # Auth string including access token from above
headers = {'authorization': auth} # headers
response = requests.request("GET", all_skills_endpoint, headers=headers) # response
response = response.json()['data'] # the data
all_skills_df = pd.DataFrame(json_normalize(response)); # Where response is a JSON object drilled down to the level of 'data' key
return all_skills_df
extract_skills_list()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment