Skip to content

Instantly share code, notes, and snippets.

Avatar

Nelson Tam nelson

  • Sydney, Australia
View GitHub Profile
@nelson
nelson / python-pocketsmith-api.markdown
Created Jul 1, 2021
Compiling a new python library for Pocketsmith
View python-pocketsmith-api.markdown

Compiling a new python library for Pocketsmith

  1. Clone the source code for the Python client library
  2. Inside that directory, clone the Pocketsmith API into python-pocketsmith-api/pocketsmith-api-spec.
  3. Use the [Swagger editor][3] to convert openapi.json to openapi.yaml. [(Reference)][3ref]
  4. Go back to the client library and run ./generate-pocketsmith-library.sh. The library will be written to ./pocketsmith.
  5. Place the new library in $PYTHONPATH. On macOS, you can use /usr/local/lib/python<ver>/site-packages/pocketsmith.
@nelson
nelson / keybase.md
Created Dec 5, 2014
keybase prove github
View keybase.md

Keybase proof

I hereby claim:

  • I am nelson on github.
  • I am ntam (https://keybase.io/ntam) on keybase.
  • I have a public key whose fingerprint is 1646 8F05 77C0 C1BB FD6B 9DC7 89FA 0E46 691C 69C5

To claim this, I am signing this object: