Skip to main content

API

This is a custom API, written in Python using FastAPI, to help me accomplish tasks the can be improved through a RESTful API

Setup

Simplest setup is to start from compose.yml and template.env, which should be renamed to .env

Environment Vairables

  • API_KEY - Any long, random string. Keep this secret as this is the only form of authentication for the API. All routes require it, except /health-check/
  • DATABASE_URL - The URL to connect to postgres DB. Must start with postgresql+psycopg://. Should be in the format specifiec in template.env
  • TZ - Timezone of the container
  • PGTZ - Timezone the Postgres container should use

How to Access

Using the compose.yml file, you can access the API at http://<IP>:5000/health-check. If everything is setup correctly, you should see {"status":"ok"}

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

js_api-0.2.90.tar.gz (20.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

js_api-0.2.90-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

Details for the file js_api-0.2.90.tar.gz.

File metadata

  • Download URL: js_api-0.2.90.tar.gz
  • Upload date:
  • Size: 20.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for js_api-0.2.90.tar.gz
Algorithm Hash digest
SHA256 55bcdf11a6e315b9f4e32eceb7b197090f0a1f6a7159eb6fbc83593574759ac0
MD5 fd86480ab5ae58ecf4feb7021653af3e
BLAKE2b-256 7ba14551f30872d2f5a3bccf2c6cc26b5ed061430d49a85a060d08c27c13f1dd

See more details on using hashes here.

Provenance

The following attestation bundles were made for js_api-0.2.90.tar.gz:

Publisher: ci-cd.yml on jnstockley/api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file js_api-0.2.90-py3-none-any.whl.

File metadata

  • Download URL: js_api-0.2.90-py3-none-any.whl
  • Upload date:
  • Size: 21.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for js_api-0.2.90-py3-none-any.whl
Algorithm Hash digest
SHA256 3de0aa21a9de7409c7a739bf5e9a047e552b3ae24881d40b7c9d75b32268ee27
MD5 4c0f966aa59a31b544427a6d2e0b8dee
BLAKE2b-256 4d2b8723ff6effefef018bef9fa727b4e044180c65b882d018472a086c287e4a

See more details on using hashes here.

Provenance

The following attestation bundles were made for js_api-0.2.90-py3-none-any.whl:

Publisher: ci-cd.yml on jnstockley/api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.2.94

2 files

0.2.93

2 files

0.2.92

2 files

0.2.91

2 files

This release

0.2.90 This release

2 files

0.2.89

2 files

0.2.88

2 files

0.2.87

2 files

0.2.86

2 files

0.2.85

2 files

0.2.84

2 files

0.2.83

2 files

0.2.82

2 files

0.2.81

2 files

0.2.80

2 files

0.2.79

2 files

0.2.78

2 files

0.2.77

2 files

0.2.76

2 files

0.2.75

2 files

0.2.74

2 files

0.2.73

2 files

0.2.72

2 files

0.2.71

2 files

0.2.70

2 files

0.2.69

2 files

0.2.68

2 files

0.2.67

2 files

0.2.66

2 files

0.2.65

2 files

0.2.64

2 files

0.2.63

2 files

0.2.62

2 files

0.2.61

2 files

0.2.60

2 files

0.2.59

2 files

0.2.58

2 files

0.2.57

2 files

0.2.56

2 files

0.2.55

2 files

0.2.54

2 files

0.2.53

2 files

0.2.52

2 files

0.2.51

2 files

0.2.50

2 files

0.2.42

2 files

0.2.41

2 files

0.2.40

2 files

0.2.30

2 files

0.2.29

2 files

0.2.28

2 files

0.2.27

2 files

0.2.26

2 files

0.2.25

2 files

0.2.24

2 files

0.2.23

2 files

0.2.22

2 files

0.2.21

2 files

0.2.20

2 files

0.2.19

2 files

0.2.18

2 files

0.2.17

2 files

0.2.16

2 files

0.2.15

2 files

0.2.14

2 files

0.2.13

2 files

0.2.12

2 files

0.2.11

2 files

0.2.10

2 files

0.2.9

2 files

0.2.8

2 files

0.2.7

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.16

2 files

0.1.15

2 files

0.1.14

2 files

0.1.13

2 files

0.1.12

2 files

0.1.11

2 files

0.1.10

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page