Priya
Priya

Reputation: 41

Google Fonts API

Am using https://www.googleapis.com/webfonts/v1/webfonts?key=_key for getting google fonts lists and details of the fonts..

But am getting the following error.

{"error"=>{"errors"=>
    [{"domain"=>"usageLimits", "reason"=>"dailyLimitExceededUnreg", 
    "message"=>"Daily Limit Exceeded. Please sign up"
    , "extendedHelp"=>"https://code.google.com/apis/console"}], 
    "code"=>403, "message"=>"Daily Limit Exceeded. Please sign up"}}.

I got stuck with this.

Upvotes: 0

Views: 1225

Answers (2)

Rob Grant
Rob Grant

Reputation: 7348

If you're using that exact URL, then that's the problem. You need to replace the final _key in the URL with the key they supplied.

Upvotes: 1

Spence
Spence

Reputation: 29322

It seems pretty clear that Google has stated that you've exceeded the daily limit for accessing the service.

Basically to protect themselves from denial of service attacks (and in some cases to generate revenue from their projects) they limit the number of accesses you can make to service.

You should follow the link and sign up for an account with them so that you can possibly avoid the limit.

Upvotes: 1

Related Questions