Giter Site home page Giter Site logo

pbs-sdo / metadata-api-sdk Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.03 MB

This repository contains SDKs for different platforms and languages, enabling seamless integration with Metadata Bank's services.

Home Page: https://metadata-bank.pbs.org/

License: GNU General Public License v3.0

JavaScript 69.26% Python 30.74%
api-rest metadata-api metadata-management api-graphql api-token api-token-generator api-token-management

metadata-api-sdk's Introduction

Metadata Bank API SDK

Welcome to the Metadata Bank API SDK repository! This repository contains SDKs for different platforms and languages, enabling seamless integration with Metadata Bank's services. Below you'll find an overview of the repository structure and the functionality provided by each SDK.

Before you jump in, you should get familiar with the Guidelines and Recommendations for handling OAuth API Access Tokens.

Repository Structure

  1. sdk-web: A Javascript SDK providing a simple way to get an API token from the Metadata Bank for an SPA or web application
  2. sdk-nodejs: A Node.js SDK providing a simple way to get API tokens from Metadata Bank.
  3. sdk-aws-python: A Python SDK optimized for AWS environments, with additional encryption features for secure token handling.
  4. sdk-aws-lambda-nodejs: A Node.js SDK tailored for AWS Lambda, enabling serverless interactions with Metadata Bank's API.

JavaScript sdk-web

The sdk-web folder contains a Javascript implementation that provide a straightforward way to get an API token.

  • getApiTokenForWebApp: A simpler function similar to the Node.js for Web applications and Single Page Applications(SPA)

NodeJS sdk-nodejs

The sdk-nodejs folder contains a Node.js implementation that provides a straightforward way to get API tokens. It's designed for simplicity and easy integration into various Node.js applications. It includes the following:

  • getApiTokenEncrypted: A function to fetch, encrypt, and save API tokens to a local file. It also manages token expiry by checking the token's expiration time before making a new API call.
  • getApiToken: A simpler function similar to the Node.js version for fetching API tokens without encryption.

PythonAWS sdk-aws-python

The sdk-aws-python folder offers a Python SDK with advanced features specially crafted for AWS Lambda environments. This enables serverless applications to interact with Metadata Bank's API efficiently.

NodeJSAWS sdk-aws-lambda-nodejs

The sdk-aws-lambda-nodejs folder includes a Node.js SDK specially crafted for AWS Lambda environments. This enables serverless applications to interact with Metadata Bank's API efficiently.

Getting Started

Please navigate to the specific SDK folder that meets your requirements. Inside each folder, you'll find detailed instructions on how to install, configure, and use the SDK.

Contributing

If you'd like to contribute, please follow the guidelines provided in the CONTRIBUTING.md file.

License

This project is licensed under the terms of the GNU General Public License v3.0 (GPLv3).

Support

For support, questions, or additional information, please refer to the SUPPORT.md file or contact us directly at metadata-api-sdk.

metadata-api-sdk's People

Contributors

noyb34 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.