Crunchbase API v3.1 - Ruby Library CrunchBase Data Hub.
Add this line to your application's Gemfile:
gem 'ruby_crunchbase_api'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ruby_crunchbase_api
Ceate the file config/initializers/crunchbase.rb
in your rails project and add user_key.
require 'crunchbase'
Crunchbase::API.key = 'user_key'
Crunchbase::API.debug = false
person = Person.get("mark-zuckerberg")
company = Organization.get("facebook")
search_results = Person.search({"name": "mark"})
#get the next page of results
search_results = search_results.next
API.get("https://api.crunchbase.com/v3.1/organizations?name=facebook")
API.batch({"requests": [
{ "type": "<entity_type>", "uuid": "<entity_uuid>", "relationships": ["<relationship_name>"]}
]})
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Copyright © 2019 Nolan Frausto. See LICENSE for details.