wilddima / fedger_api

Ruby library for fedger.io api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fedger_api

<img src=“https://travis-ci.org/WildDima/fedger_api.svg?branch=master” alt=“Build Status” />

Ruby library for fedger.io api.


Installation


Add this to your application’s Gemfile:

gem 'fedger_api'

And then execute:

$ bundle

Or install it yourself as:

$ gem install fedger_api

Example


More information about API on dev.fedger.io/docs

client = FedgerAPI::Client.new(api key)

Company

company_domain = 'google.com'

#Returns a detailed funding history collection.
client.funding_details(company_domain)

#Returns Total funding amount and current stage.
client.funding_status(company_domain)

#Returns a detailed funding history collection.
client.fundings(company_domain)

#Returns nodes connected to a company.
client.company_insights(company_domain)

#Returns a list of investors in a company.
client.investors(company_domain)

#Returns a list with city/country for operative sites of a company.
client.locations(company_domain)

#Returns company peers.
client.peers(company_domain)

#List of company names, an investor has invested in.
client.portfolio_companies(company_domain)

#Returns details of a company profile.
client.company_snapshot(company_domain)

#Returns team profiles for a company.
client.team_details(company_domain)

Discover

# Returns a graph of vertices and edges matching the search query.
client.discovery(query)

# Returns detailed corresponding companies matching the search query.
client.discovery_companies(query)

# Returns detailed corresponding vertices matching the search query.
client.discovery_vertices(query)

Geo

# Returns companies by region.
client.geo_located_companies(country_code)

# Returns fundings by region.
client.geo_located_fundings(country_code)

News

# Returns a collection of the most recent fundings covered.
client.latest_fundings

Stats

client.stats_fundings(year, query)

Tagged

# Returns companies associated with tags.
client.tagged_companies(query)

# Returns fundings associated with tags.
client.tagged_fundings(query)

About

Ruby library for fedger.io api

License:MIT License


Languages

Language:Ruby 100.0%