ruby-rdf / sparql-client

SPARQL client for Ruby.
http://rubygems.org/gems/sparql-client
The Unlicense
112 stars 58 forks source link

If you are using Wikidata, it requires User-Agent #94

Closed ferdi2005 closed 5 years ago

ferdi2005 commented 5 years ago

You can't query Wikidata without an User-Agent, so I propose to leave a note in the README to say that you should do things like: SPARQL::Client.new(endpoint, :method => :get, :headers => { 'User-Agent': 'MyBotName'}) to use Wikidata.

gkellogg commented 5 years ago

Actually, the library should provide a default for User-Agent. I'll add something suggesting that applications override this.