How do I use Google Cloud Datastore with Ruby? -


i'd use google cloud datastore rails app. ruby lib make easy?

you can use official google api client ruby:

https://github.com/google/google-api-ruby-client

# log in google-api oauth-2-login --client-id='...' --client-secret='...' --scope="https://www.googleapis.com/auth/datastore https://www.googleapis.com/auth/userinfo.email"  # start interactive api session google-api irb >> ds = $client.discovered_api('datastore', 'v1beta1') >> $client.execute(ds.lookup, {'datasetid' => '...', 'keys' => [...]}) => # returns response api 

Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

java - Using an Integer ArrayList in Android -