Git Product home page Git Product logo

jarrod-mclean-sdk's Introduction

Jarrod-McLean-SDK

LOTR_SDK

The LOTR_SDK is a sample SDK that allows a user to call the Movie endpoint on The One API (https://the-one-api.dev/). The API documentation can be found here: https://the-one-api.dev/documentation.

Example

To run the example project:

  1. Clone the repo
  2. Go to https://the-one-api.dev/sign-up to resister and recieve an Access Token
  3. Open the sdk_test project
  4. Open the app.ts file and replace with the Access Token you recieved in step 2

At this point you may either run the local code for the SDK that was downloaded from the git repo or you may get the SDK from npm. The following steps will assume you are getting the SDK from npm as you would in a Production environment.

  1. Install the SDK from NPM: npm install @mclejar/lotr_sdk
  2. Build the SDK_TEST application: tsc
  3. Run the SDK_TEST application: node dist/app.js

This test application calls the movie endpoint and will return the list of all LOTR movies in json format.

Requirements

LOTR_SDK installed from npm, see step 5 above

Installation

LOTR_SDK installed from npm, see step 5 above

Author

Jarrod McLean

License

LOTR_SDK is available under the ISC license.

jarrod-mclean-sdk's People

Contributors

mclejar 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.