Code Monkey home page Code Monkey logo

cryptowatch-api's People

Contributors

burdakovd avatar ricbra avatar wellsjo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cryptowatch-api's Issues

getting cryptowatch json info

Hi, thanks for making this, i really like to use this program.
I am trying to fetch url from cryptowatch by using pure javascript.
i have some question using it.
Could you kindly share information?

・does this work on pure javascript?
i implemented, but it says that "require" is not defined, which means its for python?

・please tell me how i could get information for underlined url.

https://api.cryptowat.ch/markets/bitflyer/btcfxjpy/ohlc?periods=300&before=1555114976479

Actually i have been using cryptowatch by setting CORS ("https://cors-anywhere.herokuapp.com") for fetching json from cryptowatch, but somehow from yesterday, it wont fetch... it says 403 forbidden for following fetch. That is why i would like to use your program.

var url="https://cors-anywhere.herokuapp.com/https://api.cryptowat.ch/markets/bitflyer/btcfxjpy/ohlc?periods=300&before=1555114976479"
fetch(url,{
			 method: 'GET',
			headers: { 'Access-Control-Request-Origin': 'https://api.cryptowat.ch' }})
		.then(function(response) {
	
			return response.json();
		
		})

Thank you

not supporting api params

It is not possible to support params with your approach, maybe you should add an extra func param to allow an options object?

Nothing works.

None of the listed methods can be used.

Some of what I've tried:

const cryptowatch = require('cryptowatch-api');

app.route('/exchanges')
    .get((req, res) => {
        res.json(cryptowatch.exchanges());
});

The error I get is;
TypeError: cryptowatch.prices is not a function

Express is properly configured.

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.