Skip to main content

HeySummit API Client

Project description

https://img.shields.io/pypi/v/heysummit.svg https://img.shields.io/github/workflow/status/fzipi/hey-summit/CI Documentation Status Updates

Hey Summit API is a requests based client to the Hey Summit API.

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.4.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

heysummit-0.1.4-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file heysummit-0.1.4.tar.gz.

File metadata

  • Download URL: heysummit-0.1.4.tar.gz
  • Upload date:
  • Size: 5.7 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

Hashes for heysummit-0.1.4.tar.gz
Algorithm Hash digest
SHA256 c5a5ea58ef535c0356bded32b9002851b98446629abb707bd1963c2906e31959
MD5 a2921146e07f733b548df13a90f56324
BLAKE2b-256 a9191c54f34dc52324fe25208b4ca7a88c680f4a163fc8fea38aaeb22248024d

See more details on using hashes here.

File details

Details for the file heysummit-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: heysummit-0.1.4-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

Hashes for heysummit-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 281dbc7f8c2d4ce4dd572e29febcda87b7678cc3fc781f4996785004796e6037
MD5 b5511d2ee3c1e7516cbb96a86f96d8f8
BLAKE2b-256 1ec5bbfa65b06514a030a2efacdc8606e685c66fbbc53eac4ba533461008aec2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page