Medium SDK for NodeJS
This repository contains the open source SDK for integrating Medium's OAuth2 API into your NodeJs app.
View the full documentation here.
Install
npm install medium-sdk
Usage
Create a client, then call commands on it.
var medium = var client = clientId: 'YOUR_CLIENT_ID' clientSecret: 'YOUR_CLIENT_SECRET' var redirectURL = 'https://yoursite.com/callback/medium'; var url = client // (Send the user to the authorization URL to obtain an authorization code.) client
Contributing
Questions, comments, bug reports, and pull requests are all welcomed. If you haven't contributed to a Medium project before please head over to the Open Source Project and fill out an OCLA (it should be pretty painless).
Authors
License
Copyright 2015 A Medium Corporation
Licensed under Apache License Version 2.0. Details in the attached LICENSE file.