https://github.com/strax/node-wolfram
Wolfram|Alpha API wrapper for node.js
https://github.com/strax/node-wolfram
api-client javascript wolfram-alpha
Last synced: over 1 year ago
JSON representation
Wolfram|Alpha API wrapper for node.js
- Host: GitHub
- URL: https://github.com/strax/node-wolfram
- Owner: strax
- License: mit
- Archived: true
- Created: 2011-10-17T19:56:17.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2018-10-21T20:21:14.000Z (over 7 years ago)
- Last Synced: 2025-03-13T18:52:02.681Z (over 1 year ago)
- Topics: api-client, javascript, wolfram-alpha
- Language: JavaScript
- Homepage:
- Size: 34.2 KB
- Stars: 86
- Watchers: 8
- Forks: 44
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
wolfram [](https://travis-ci.org/strax/node-wolfram)
=================================================
Wolfram is a simple Wolfram|Alpha API wrapper for Node.js with support for both plaintext and image results.
How to use
----------
Register for a Wolfram|Alpha application ID. The Wolfram|Alpha® API is available for free for non-commercial experimental use with a low monthly cap on queries. For more information, visit [http://products.wolframalpha.com/developers/](http://products.wolframalpha.com/developers/). Wolfram is a registered trademark of the Wolfram Group of Companies.
Install the module with npm:
`$ npm install wolfram`
Example usage:
```javascript
var wolfram = require('wolfram').createClient("[CENSORED]")
wolfram.query("integrate 2x", function(err, result) {
if(err) throw err
console.log("Result: %j", result)
})
```
Running tests
-------------
Navigate to the project folder and run `npm install` to install the project's dependencies.
Run the following command, substituting `your-app-id` with your Wolfram|Alpha application ID.
`$ WOLFRAM_APPID=your-app-id npm test`
License
-------
[MIT](https://github.com/strax/node-wolfram/blob/master/LICENSE)