~/talk

Launching a library(API client) in total darkness

Talkat PyConZA 2019 · 2019-10-09..10-11· [developer-experience, python]
slides:none on file

Built a Python API client for Degreed using OAuth2 client‑credentials (client_id/secret + scope) and keeping sessions with requests.Session to handle high concurrency for a 40,000‑user org. Development happens under 17 hours/day blackout so bootstrapping with cookiecutter and auto docs from Sphinx saves time; tests use requests-mock. Code maps JSON to simple data classes, implements token refresh logic, bundles with setuptools and uploads via twine to PyPI.

AI-written summary · about

  1. 0:00Start
  2. 0:50ABOUT ME
  3. 1:45WHAT TO LOOK FORWARD TO
  4. 3:30TOTAL DARKNESS?
  5. 3:58ELECTRICITY SITUATION IN THE COUNTRY
  6. 6:18LMS
  7. 8:35USING POSTMAN
  8. 9:19AUTHENTICATION HEADERS AND PAYLOADS
  9. 10:26GETTING THE REQUEST PYTHON CODE
  10. 11:35CODE GENERATED BY POSTMAN
  11. 16:22API AUTHENTICATION
  12. 19:33END POINT CONSTRUCTION
  13. 21:20ATTRIBUTE OBJECT
  14. 24:22CALLING THE API
  15. 27:24DOCUMENTATION WITH SPHINX
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.