PlantLink

FREE
By danwiding | Updated hace 16 días | Other
Popularity

0.2 / 10

Latency

84ms

Service Level

0%

Health Check

N/A

Back to All Discussions

Is this api still available

Rapid account: Sandrastark
sandrastark
hace 9 años

Hi,
I was wondering if this api is actually still available, I am getting an error when trying to curl.
If not, could you recommend a plant api

thanks sandra stark

Rapid account: Danwiding
danwiding Commented hace 9 años

ah. You need to create a user. You can either do this through the Angular.js app - https://dashboard.myplantlink.com/ or directly with the Register User endpoint. The angular app actually uses the same api documented on mashape. If you leave chrome or facebook dev tools running you can see the requests that occur with each action.

The username and password for all future requests are the email and password set up this way. I’m not regularly on Mashape and I am no longer employed by Oso Technologies but you can reach me at dan@oso.tc if you want a better walk through.

Rapid account: Sandrastark
sandrastark Commented hace 9 años

Also, maybe to help clarify, my colleagues have tried as well and have gotten the same error.

Rapid account: Sandrastark
sandrastark Commented hace 9 años

thanks.

I copied and pasted it from mashape directly. I am not sure what credentials I should have.

Rapid account: Danwiding
danwiding Commented hace 9 años

As a heads up the authorization header contains your username and pw in a easily readable format - http://en.wikipedia.org/wiki/Basic_access_authentication

But perhaps fortunately your username and password aren’t correct. Invalid basic auth parameter generally means invalid credentials.

Rapid account: Sandrastark
sandrastark Commented hace 9 años

Thanks so much for getting back to me! this is the error i receive:

~$ curl --get --include “https://plantlink.p.mashape.com/plants/241097” \

-H “Authorization: Basic c2FuZHJhc3Rhcms6ZW1vc2Vl”
-H "X-Mashape-Key: UIpaobkv6FmshXQUd5op4SUGm39Mp1c7tt2jsnpwG4UHA0afoS"
HTTP/1.1 401 Unauthorized
Cache-Control: no-cache
Content-Type: text/html; charset=utf-8
Date: Sat, 13 Dec 2014 18:41:37 GMT
Server: Mashape/5.0.5
Set-Cookie: GOOGAPPUID=431; expires=Thu, 01-Feb-2018 14:41:37 GMT; path=/
Vary: Accept-Encoding
Content-Length: 367
Connection: keep-alive

[{“severity”: “Error”, “type”: “AuthError”, “traceback”: [" File “/base/data/home/apps/s~oso-tech/live.377436776115551932/app/controllers/commonHandlers.py”, line 226, in check_login\n message=‘The given Authorization header is not valid’)\n"], “type_detail”: “InvalidBasicAuthParameter”, “message”: “The given Authorization header is not valid”, “data”: null}]

Rapid account: Danwiding
danwiding Commented hace 9 años

The API is still online and available. What’s the error when you received?

Join in the discussion - add comment below:

Login / Signup to post new comments