Skip to main content

Vhinny - Financial Data API

Public API to access Vhinny's Financial Data. For more information, please visit us at https://www.vhinny.com/about

Installation

Make sure you have Python 3.6+ on your system, then run pip install vhinny

Documentation

Start by importing the package

# Importing Vhinny always is a good place to start
from vhinny import Vhinny

Initiate your instance

vhi = Vhinny()

Looking for a Balance Sheet? Try this:

data = vhi.balance_sheet(ticker='AAPL', year=2012)

This will return a dictionary similar to the one below. Note, if we don't have data for a combination of (ticker, year) you've specified, this call will return None

# Sample response:
{
    'accounts_payable_items': 2012000000.0, 
    'accounts_receivable': 7885000000.0, 
    'assets': 93798000000.0, 
    'cash_and_equivalents': 14778000000.0, 
    'current_assets': 60454000000.0, 
    'filing_date': '2013-01-29', 
    'goodwill': 10537000000.0, 
    'intangible_assets': 7473000000.0, 
    'inventory': 505000000.0, 
    'liabilities': 22083000000.0, 
    'liabilities_current': 14337000000.0, 
    'liabilities_non_current': 7746000000.0, 
    'long_term_debt_current': 0.0, 
    'long_term_debt_non_current': 2988000000.0, 
    'non_current_assets': 33344000000.0, 
    'property_plant_and_equipment': 11854000000.0, 
    'reported_as_of': '2012-12-31', 
    'retained_earnings': 48342000000.0, 
    'stockholders_equity': 71715000000.0, 
    'treasury_stock_value': None
}

You can also request Income Statement, and the Statement of Cash Flows like so:

vhi.income_statement(ticker='AAPL', year=2012)
vhi.cash_flows(ticker='AAPL', year=2012)

Happy coding!

Metadata

Release files for vhinny 0.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vhinny 0.0.10
File Size Uploaded
vhinny-0.0.10.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vhinny 0.0.10
File Interpreter ABI Platform
vhinny-0.0.10-py3-none-any.whl Python 3 none any Details

Total release size: 10.0 kB

Release files / vhinny-0.0.10.tar.gz

Download URL vhinny-0.0.10.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f349777140048c0434179bca7f4984591f0cda3f8640a668f084a73f25c0dcea
BLAKE2b-256 checksum
How to use checksums
bc012b5027a776c8f7471a19b1a6895c806823df3381d51674da7c971dd01b80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.0

Release files / vhinny-0.0.10-py3-none-any.whl

Download URL vhinny-0.0.10-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e81c1011d3b4a3679c18a3f96fac29d92c844f759ee210bd96eda8b77833cf9c
BLAKE2b-256 checksum
How to use checksums
08903e2b5fd8f4cb19721f634aabf5d227451bda1005c7e9c9a62bd55b33fc78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.0

Release history Release notifications | RSS feed

This release

0.0.10 This release

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page