Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Program API

License

NotificationsYou must be signed in to change notification settings

EuroPython/programapi

Repository files navigation

This project downloads, processes, saves, and serves the static JSON files containing details of accepted speakers and submissions via an API.

Used by the EuroPython 2024 website and the Discord bot.

What this project does step-by-step:

  1. Downloads the Pretalx speaker and submission data, and saves it as JSON files.
  2. Transforms the JSON files into a format that is easier to work with and OK to serve publicly. This includes removing unnecessary/private fields, and adding new fields.
  3. Serves the JSON files via an API.

Installation

  1. Clone the repository.
  2. Install the dependency management tool:make deps/pre
  3. Install the dependencies:make deps/install
  4. Set uppre-commit:make pre-commit

Configuration

You can change the event in theconfig.py file. It is set toeuropython-2024 right now.

Usage

  • Run the whole process:make all
  • Run only the download process:make download
  • Run only the transformation process:make transform

Note: Don't forget to setPRETALX_TOKEN in your.env file at the root of the project. And please don't make too many requests to the Pretalx API, it might get angry 🤪

API

The API is served athttps://programapi24.europython.eu/2024. It has two endpoints (for now):

  • /speakers.json: Returns the list of confirmed speakers.
  • /sessions.json: Returns the list of confirmed sessions.

Schema

Seethis page for the explanations of the fields in the returned JSON files.


[8]ページ先頭

©2009-2025 Movatter.jp