HeySummit API Client
Project description
Hey Summit API is a requests based client to the Hey Summit API.
Free software: Apache 2.0 License
Documentation: https://api-docs.heysummit.com/#introduction
Features
All features from the HeySummit API are implemented. Sadly the API seems unversioned at this point so I cannot guarantee stability.
Examples
The only required argument is the HeySummit API token.
This is an example usage:
import argparse from heysummit.api import HeySummit, HeySummitException def list_attendees(): attendees = hey.get_all_attendees() print("There are {n} attendees".format(len(attendees))) for attendee in attendees: print("id: {id}, email: {email}".format( id=attendee['id'], email=attendee['email'] ) ) def get_events(): events = hey.get_events(is_live=True) for event in events: print(event) # main # Parse Arguments parser = argparse.ArgumentParser(description='HeySummit interaction script.') parser.add_argument('-t', '--token', type=str, help='API Token. Example: jdoe.', required=True) args = parser.parse_args() hey = HeySummit(token=args.token) print(hey.get_all_attendees(event=5573)) talks = hey.get_talks(event=5573, is_active=True) for talk in talks: print(talk)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
heysummit-0.1.3.tar.gz
(5.6 kB
view details)
Built Distribution
File details
Details for the file heysummit-0.1.3.tar.gz
.
File metadata
- Download URL: heysummit-0.1.3.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.8.3 Linux/5.6.8-300.fc32.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87047007ecd502d7556007c7823b51dd1ea44584fe7b740fba3215c2d84228db |
|
MD5 | b65396b4a617043f92b0724a779f462a |
|
BLAKE2b-256 | f22739e740fd8f4265686c145c57a8224a19e19561bba92f54ebffec806cdf92 |
File details
Details for the file heysummit-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: heysummit-0.1.3-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.8.3 Linux/5.6.8-300.fc32.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d43e34944ee76bf49fe16d17ca6ffc106ce6bee531af7bf3ba08c0fe84e4574 |
|
MD5 | 35d222dea0da024000ae11b7efd43400 |
|
BLAKE2b-256 | 821b895051d89126fffdd90c9618816f39963c6ef48ccc60d0a7c1717f76756d |