{"id":18545580,"url":"https://github.com/traderinteractive/tol-api-nodejs","last_synced_at":"2025-04-09T19:32:02.291Z","repository":{"id":40421991,"uuid":"14932758","full_name":"traderinteractive/tol-api-nodejs","owner":"traderinteractive","description":"A node.js client for the TOL API","archived":false,"fork":false,"pushed_at":"2024-05-09T17:21:17.000Z","size":57,"stargazers_count":1,"open_issues_count":0,"forks_count":6,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-03-24T10:56:32.165Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/traderinteractive.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-04T18:55:42.000Z","updated_at":"2022-05-09T17:38:13.000Z","dependencies_parsed_at":"2022-08-09T20:00:40.566Z","dependency_job_id":null,"html_url":"https://github.com/traderinteractive/tol-api-nodejs","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traderinteractive%2Ftol-api-nodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traderinteractive%2Ftol-api-nodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traderinteractive%2Ftol-api-nodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traderinteractive%2Ftol-api-nodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/traderinteractive","download_url":"https://codeload.github.com/traderinteractive/tol-api-nodejs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248097897,"owners_count":21047333,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T20:20:59.680Z","updated_at":"2025-04-09T19:32:01.973Z","avatar_url":"https://github.com/traderinteractive.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TOL Api\nA node.js API client for the TOL APIs.\n\n###Requirements\nThe api client requires [q](https://github.com/kriskowal/q), [request](https://github.com/request/request), and [underscore.js](http://underscorejs.org/).\n\n###Installation\nThere are 2 ways you can import this project.\n\n1.) ```npm install tol-api```\n\n\n2.) Add the following entry to your packages.json and then run ```npm update``` (Recommended)\n\n```json\n{\n  \"dependencies\": {\n    \"tol-api\": \"0.8.x\"\n  }\n}\n```\n\n###Usage\n```nodejs\n//Imports the tol-api library\nvar clientFactory = require('tol-api');\n\n//Creates the api client and fetches your first access token\nvar client = clientFactory.createClient('https://baseApiUrl/v1', 'clientId', 'clientSecret');\n\nclient.getResult('cycles', 123456789).then(function(response) {\n    console.log(response);\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftraderinteractive%2Ftol-api-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftraderinteractive%2Ftol-api-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftraderinteractive%2Ftol-api-nodejs/lists"}