Comments (5)
Also, the unsplash API itself is erroneous.
It returns 10mil range numbers sometimes. Dev said it's a known issue.
Follow this up once they solve it.
from go-unsplash.
The new production rate limit is very high and I couldn't exhaust it easily.
Try next time with a new low limit test app.
from go-unsplash.
$ curl "https://api.unsplash.com/photos/client_id=CLIENT-ID" -v
* Trying 151.101.49.181...
* Connected to api.unsplash.com (151.101.49.181) port 443 (#0)
* found 173 certificates in /etc/ssl/certs/ca-certificates.crt
* found 697 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_RSA_AES_128_GCM_SHA256
* server certificate verification OK
* server certificate status verification SKIPPED
* common name: p.ssl.fastly.net (matched)
* server certificate expiration date OK
* server certificate activation date OK
* certificate public key: RSA
* certificate version: #3
* subject: C=US,ST=California,L=San Francisco,O=Fastly\, Inc.,CN=p.ssl.fastly.net
* start date: Fri, 12 May 2017 21:29:08 GMT
* expire date: Fri, 28 Dec 2018 14:41:49 GMT
* issuer: C=BE,O=GlobalSign nv-sa,CN=GlobalSign CloudSSL CA - SHA256 - G3
* compression: NULL
* ALPN, server accepted to use http/1.1
> GET /photos/?client_id=<CLIENT-ID> HTTP/1.1
> Host: api.unsplash.com
> User-Agent: curl/7.47.0
> Accept: */*
>
< HTTP/1.1 403 Forbidden
< Server: Cowboy
< X-Ratelimit-Limit: 50
< X-Ratelimit-Remaining: 0
< X-Request-Id: ec39508a-a44c-42e2-8e0a-e390b6720017
< X-Runtime: 0.002210
< Strict-Transport-Security: max-age=31536000
< Via: 1.1 vegur
< Via: 1.1 varnish
< Fastly-Debug-Digest: 93fcc05b5063a66a64a87c6b4175c11e92db67af278b772474871fad52ea58c9
< Content-Length: 19
< Accept-Ranges: bytes
< Date: Fri, 28 Jul 2017 02:48:43 GMT
< Via: 1.1 varnish
< Connection: keep-alive
< X-Served-By: cache-iad2128-IAD, cache-dfw1836-DFW
< X-Cache: MISS, MISS
< X-Cache-Hits: 0, 0
< X-Timer: S1501210123.985107,VS0,VE40
< Vary: Origin
<
* Connection #0 to host api.unsplash.com left intact
Rate Limit Exceeded
from go-unsplash.
403 + 0 remaining means rate limiting error?
from go-unsplash.
Fixed in be60380
from go-unsplash.
Related Issues (20)
- Feature: String() for all structs
- Data structure for historical data on views, downloads... HOT 1
- user.Photos(); user.Portfolio();user.Followers() - links in user HOT 1
- Feature: introduce un.Users.Statistics method as well
- RandomPhotoOpt needs to be updated
- Get a photo’s statistics HOT 1
- Documentation: need more in godoc to understand the exported variables HOT 1
- Errors with ListOpt{} when not specifying all values HOT 2
- Utilize a dependency manager ('dep', 'glide', etc.) HOT 1
- Parse response for 500 errors HOT 2
- return erorr 403 forbidden when scope not valid HOT 1
- PUT /me endpoint to update current user's data HOT 2
- Month stats and total stats endpoints updated HOT 2
- Add context to all methods HOT 3
- Unexport api links
- Why are exported URLs of type string? HOT 1
- Accept-Version: v1 headers should be added to each request HOT 1
- Add instagram username to `User` struct HOT 1
- User.PortfolioURL is not always a valid URL HOT 2
- feature: implement GET /photos/:id/statistics HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-unsplash.