Libraries & SDKs
העתקת עמוד
EntryBit is a standard OAuth 2.0 / OpenID Connect provider with an OpenAPI-described REST API — so you can use a well-tested OAuth library on any platform today and generate a fully-typed API client from the spec.
עודכן
EntryBit is built on open standards — OAuth 2.0, OpenID Connect, and an OpenAPI 3.1-described REST API. There is nothing EntryBit-specific to learn: use a well-tested OAuth library for sign-in, and generate a typed client for the API from the spec.
Sign-in libraries, by platform
For “Sign in with EntryBit” (the OAuth flow), use the standard authorization-code + PKCE client for your platform. Point it at the discovery document and it configures itself.
| Platform | Recommended library | Guide |
|---|---|---|
| React Native (Expo) | expo-auth-session | Quickstart |
| Web (SPA / SSR) | oidc-client-ts, or your framework’s OAuth/OIDC plugin | OAuth overview |
| iOS (Swift) | AppAuth-iOS | OAuth overview |
| Android (Kotlin) | AppAuth-Android | OAuth overview |
| Backend (any language) | any OAuth 2.0 client — or use an API key for server-to-server | Authentication |
Whatever you pick, the rules are the same: PKCE (S256) is required, tokens go in Authorization: Bearer …, and refresh tokens rotate — always persist the newest one.
Generate a typed API client from OpenAPI
The OpenAPI spec at https://entrybit.net/openapi.json generates a fully-typed client for the REST API in any language — no hand-written request code.
| Language | Generator |
|---|---|
| Python | openapi-python-client or openapi-generator (-g python) |
| TypeScript / JavaScript | openapi-typescript (types) or openapi-generator (-g typescript-fetch) |
| Go | oapi-codegen |
| Swift / Kotlin / Ruby / … | openapi-generator (-g swift5 / -g kotlin / …) |
# TypeScript types
npx openapi-typescript https://entrybit.net/openapi.json -o entrybit.d.ts
# Python client
pip install openapi-python-client
openapi-python-client generate --url https://entrybit.net/openapi.json
# Any language, via the OpenAPI Generator
npx @openapitools/openapi-generator-cli generate \
-i https://entrybit.net/openapi.json -g python -o ./entrybit-pythonOfficial SDKs
| Platform | SDK | |
|---|---|---|
| Node.js / TypeScript | @entrybit/sdk | GitHub · npm |
npm install @entrybit/sdk gets you the whole API — passes, members, facilities and the OAuth lifecycle — fully typed with retries, timeouts and typed errors built in. See the SDK page for the quickstart. SDKs for more platforms will be listed here as they ship; meanwhile the OpenAPI spec plus the libraries above give you a typed client everywhere.
Prefer to explore first?
Import the API straight into Postman or Insomnia to try every endpoint interactively before you write any code.