Y!APPLICATION_SECRET, // Yahoo! Application Secret Y!APPLICATION_KEY, // Yahoo! Application Key you can get an application key/secret by creating a new application on Yahoo! import the libraryĬonst YahooFantasy = require('yahoo-fantasy') The API can be used by simply importing the module and querying data, since version 4.0 the authentication flow has been built into the library to make things easier for users. This sandbox is always a work in progress, if I've learned anything it's that nothing is ever complete. More complete documentation can be found using the application sandbox. This module is available under the MIT Licence Documentation You can install the module via npm by running: $ npm install yahoo-fantasy I've noticed that in working with the API, the data is not always the easiest to understand, so hopefully what I have created here will help people out. The goal is for ease of use for the user, both in terms of querying endpoints and parsing responses. The API is designed to act as a helper for those interacting with the Y! Fantasy API. I do hope to add them, and they have been added to the code, but as of now this project is very much in an open beta phase. At the moment, not all subresources are available, nor are any of the 'collection' elements.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |