Closed ferdi2005 closed 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.
SPARQL::Client.new(endpoint, :method => :get, :headers => { 'User-Agent': 'MyBotName'})
Actually, the library should provide a default for User-Agent. I'll add something suggesting that applications override this.
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.