Skip to content

Instantly share code, notes, and snippets.

@bhoggard
Created July 8, 2017 18:58
Show Gist options
  • Save bhoggard/3fafc5ec0aa04f80c35c65f42c8d1676 to your computer and use it in GitHub Desktop.
Save bhoggard/3fafc5ec0aa04f80c35c65f42c8d1676 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
# after doing a "gem install wikidata"
require 'wikidata'
artist = Wikidata::Item.find_by_title "Valie Export"
puts "Artist ID is: #{artist.id}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment