alex0112 / aurum Goto Github PK
View Code? Open in Web Editor NEWCoinbase API Wrapper
Home Page: https://hex.pm/packages/aurum
License: GNU General Public License v3.0
Coinbase API Wrapper
Home Page: https://hex.pm/packages/aurum
License: GNU General Public License v3.0
Request.new(:GET, "/accounts", "", key, secret, Request.server_time) |> Request.send!
** (ArgumentError) you must merge onto an absolute URI
(elixir) lib/uri.ex:518: URI.merge/2
(httpotion) lib/httpotion.ex:455: HTTPotion.normalize_location/2
(httpotion) lib/httpotion.ex:455: HTTPotion.request/3
This error is being caused (I suspect) because HTTPotion's normalize_location/2
function calls URI.merge/2
without the prepending http[s]://
to the URI. This causes the authority
key in the URI struct to end up nil, meaning that URI.merge/2
is the function being called.
Since this hasn't happened for the other Coinbase calls (see Request.server_time/0
), I suspect that when HTTPotion follows a redirect, the resulting string that URI is expected to parse is formed in a way that HTTPotion/URI doesn't expect.
Verify that this behavior is caused by the redirect, implement a workaround, and consider submitting an issue/PR to HTTPotion.
17:55:32.021 [warn] Description: 'Authenticity is not established by certificate path validation'
Reason: 'Option {verify, verify_peer} and cacertfile/cacerts is missing'
It may be possible to resolve this by using a different HTTP client in the Tesla configuration.
At the completion of this feature, a user should be able to specify an amount arbitrary currency, create an uncommitted sell, see the final sell price, and then commit.
No API wrapper is provided by coinbase for Elixir. Hit the URLs manually.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.