{"id":15406796,"url":"https://github.com/dannyben/quandl","last_synced_at":"2025-07-20T05:33:05.695Z","repository":{"id":21659278,"uuid":"24980147","full_name":"DannyBen/quandl","owner":"DannyBen","description":"Go library for accessing Quandl API","archived":false,"fork":false,"pushed_at":"2016-06-16T06:34:51.000Z","size":32,"stargazers_count":15,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-18T14:54:36.337Z","etag":null,"topics":["api","command-line","economic-data","go","quandl","quandl-api"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DannyBen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-09T08:26:55.000Z","updated_at":"2023-07-03T18:03:37.000Z","dependencies_parsed_at":"2022-07-07T21:13:16.397Z","dependency_job_id":null,"html_url":"https://github.com/DannyBen/quandl","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/DannyBen/quandl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DannyBen%2Fquandl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DannyBen%2Fquandl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DannyBen%2Fquandl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DannyBen%2Fquandl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DannyBen","download_url":"https://codeload.github.com/DannyBen/quandl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DannyBen%2Fquandl/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266071519,"owners_count":23871940,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","command-line","economic-data","go","quandl","quandl-api"],"created_at":"2024-10-01T16:25:25.799Z","updated_at":"2025-07-20T05:33:05.640Z","avatar_url":"https://github.com/DannyBen.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Go Quandl\n==================================================\n\n[![Build Status](https://travis-ci.org/DannyBen/quandl.svg?branch=master)](https://travis-ci.org/DannyBen/quandl)\n[![GoDoc](https://godoc.org/github.com/DannyBen/quandl?status.png)](http://godoc.org/github.com/DannyBen/quandl)\n\n---\n\nThis library provides easy access to the \n[Quandl API](https://www.quandl.com/help/api) \nusing the Go programming language.\n\nThe full documentation is at:  \n[godoc.org/github.com/DannyBen/quandl](http://godoc.org/github.com/DannyBen/quandl)\n\n---\n\nInstall\n--------------------------------------------------\n\n\t$ go get github.com/DannyBen/quandl\n\n\nFeatures\n--------------------------------------------------\n\n* Supports 3 call types to Quandl: `GetSymbol`, `GetList` and `GetSearch`.\n* Returns either a native [Go object](https://github.com/DannyBen/quandl/blob/master/quandlResponseTypes.go), or a raw (CSV/JSON/XML)\n  response.\n* Built in cache handling.\n\n\nUsage\n--------------------------------------------------\n\nBasic usage looks like this:\n\n\n```go\nquandl.APIKey = \"YOUR KEY\"\ndata, err := quandl.GetSymbol(\"WIKI/AAPL\", nil)\n```\n\nand will return a native Go object. To use the data in the\nresponse, iterate through its Data property:\n\n```go\nfor i, item := range data.Data {\n  fmt.Println(i, item[0], item[2])\n}\n```\n\nTo receive a raw response from Quandl (CSV, JSON, XML)\nyou can use:\n\n```go\ndata, err := quandl.GetSymbolRaw(\"WIKI/AAPL\", \"csv\", nil)\n```\n\nTo pass options to the Quandl API, use something like this:\n\n```go\nv := quandl.Options{}\nv.Set(\"trim_start\", \"2014-01-01\")\nv.Set(\"trim_end\", \"2014-02-02\")\ndata, err := quandl.GetSymbol(\"WIKI/AAPL\", v)\n```\n\nMore examples are in the \n[quandl_test file](https://github.com/DannyBen/quandl/blob/master/quandl_test.go)\nor in the \n[official godoc documentation](http://godoc.org/github.com/DannyBen/quandl#pkg-examples)\n\n\nDevelopment\n--------------------------------------------------\n\nBefore running tests, set your API key in an environment variable.\n\n\t$ export QUANDL_KEY=your_key_here\n\t$ go test -v\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdannyben%2Fquandl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdannyben%2Fquandl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdannyben%2Fquandl/lists"}