Giter Club home page Giter Club logo

minergate-api's Issues

Internal Server Error - Login

Hello,

The following response is received when trying to hit your login endpoint at /1.0/auth/login

{ "code": "InternalError", "message": "Cannot read property 'send' of undefined" }

I am using Insomnia to fire off the request and using the following parameters as stated in your documentation.

Method: POST
Headers: Content-Type: application/json
Body: { "email": "[email protected]", "password": "xxxxxxxxx"}

I have tried the request with the optional parameter of totp and obviously as shown above, without the parameter. Either the API documentation is out-dated or the server is having issues.

Please confirm when this issue has been resolved or at least checked out.

Python Wrapper + problems with login tokens

Hi, i made a python wrapper for this api: https://github.com/amahlaka/Minergate-python
I noticed that both profit rating and login functions of the api are broken
profit rating returns only [] and login returns : {"code":"InternalError","message":"Cannot read property 'send' of undefined"}
My workaround for this issue: i found my login token from cookies on my computer after using rest client to login, and getting the internal error response

login error

Im not sure what went wrong and I can confirm my credential is valid but when I try this API URL "https://api.minergate.com/1.0/auth/login" I'm getting error as below which wasn't in your description.

{"error":"MissingEmail","argument":"email","message":"User email must be specified."}

FYI, I didnt enable 2-step authorization so I guess passing empty value to parameter 'totp' is ok?

Is the API service stop running

Information:

time: 2019-5-18 19:52:53
use Insomnia to test API

When I try to use any API, there is a message that always show up.

{
  "error": "ApiDiscontinued",
  "message": ""
}

Is the API service stop running?

Thanks.

Error while testing

Always recieving one of these errors while running the code:

ERR_CONNECTION_TIMED_OUT
or
ERR_NETWORK_CHANGED

api login problem help me

my code

`<?php
$data = array(
"email" => "[email protected]",
"password" => "xxxxxx"
);
$data_json = json_encode($data);
$url = "https://api.minergate.com/1.0/auth/login";

$curl = curl_init($url);
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($curl, CURLOPT_POSTFIELDS, $data_json);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_POST, 1);
curl_setopt($curl, CURLOPT_HTTPHEADER, array(
    'Content-Type: application/json')
);
$result = curl_exec($curl);
curl_close($curl);
echo $result ;

?>
`
output data has been
{"code":"InternalError","message":"Cannot read property 'send' of undefined"}

help me plz...

InternalError /1.0/auth/login

POST /1.0/auth/login HTTP/1.1
Host: api.minergate.com
Content-Type: application/json
Cache-Control: no-cache
Postman-Token: 0e9fc3e0-c966-f2fb-8d6d-746834825d8e

included totp
email was chrislangton84 "at" gmail "d" com

response;

{
    "code": "InternalError",
    "message": "Cannot read property 'send' of undefined"
}

should work with any other credentials if it is a code error as it appears to be;

curl -X POST \
  https://api.minergate.com/1.0/auth/login \
  -H 'Cache-Control: no-cache' \
  -H 'Content-Type: application/json' \
  -d '{
  "email": "[email protected]",
  "password": "yours here",
  "totp": 123456
}'

API does not work :(

{"code":"InternalError","message":"Cannot read property 'send' of undefined"}

login doesn't work

returns {"code":"InternalError","message":"Cannot read property 'send' of undefined"}

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.