{"id":22018126,"url":"https://github.com/rvflash/opencorporates","last_synced_at":"2025-07-06T00:05:27.108Z","repository":{"id":57508806,"uuid":"116876009","full_name":"rvflash/opencorporates","owner":"rvflash","description":"Golang interface for the OpenCorporates service.","archived":false,"fork":false,"pushed_at":"2018-01-17T11:01:10.000Z","size":17,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-06T00:04:30.926Z","etag":null,"topics":["golang","opencorporates"],"latest_commit_sha":null,"homepage":"","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/rvflash.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":"2018-01-09T22:04:13.000Z","updated_at":"2022-04-03T05:14:51.000Z","dependencies_parsed_at":"2022-09-26T17:51:42.937Z","dependency_job_id":null,"html_url":"https://github.com/rvflash/opencorporates","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/rvflash/opencorporates","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvflash%2Fopencorporates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvflash%2Fopencorporates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvflash%2Fopencorporates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvflash%2Fopencorporates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rvflash","download_url":"https://codeload.github.com/rvflash/opencorporates/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvflash%2Fopencorporates/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263826853,"owners_count":23516788,"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":["golang","opencorporates"],"created_at":"2024-11-30T05:10:01.384Z","updated_at":"2025-07-06T00:05:26.954Z","avatar_url":"https://github.com/rvflash.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenCorporates\n\n[![GoDoc](https://godoc.org/github.com/rvflash/opencorporates?status.svg)](https://godoc.org/github.com/rvflash/opencorporates)\n[![Build Status](https://img.shields.io/travis/rvflash/opencorporates.svg)](https://travis-ci.org/rvflash/opencorporates)\n[![Code Coverage](https://img.shields.io/codecov/c/github/rvflash/opencorporates.svg)](http://codecov.io/github/rvflash/opencorporates?branch=master)\n[![Go Report Card](https://goreportcard.com/badge/github.com/rvflash/opencorporates)](https://goreportcard.com/report/github.com/rvflash/opencorporates)\n\n\nGolang interface for the OpenCorporates service.\n\n\n### Installation\n\n```bash\n$ go get -u github.com/rvflash/opencorporates\n```\n\n### Usage\n\nPackage still in development, all the methods are not implemented yet.\n\nThe import of the package and errors check are voluntary ignored for the demo.\n\nSee the test files for more example.\n\n#### Search a company by its name or jurisdication .\n\n```go\napi := opencorporates.API()\nit := api.Companies(\"nautic motors evasion\", \"fr\")\nfor {\n    company, err := it.Next()\n    if err != nil {\n        if err != opencorporates.EOF {\n            fmt.Println(err)\n        }\n        break\n    }\n    fmt.Printf(\"%s (%s)\\n\", company.Name, company.Number)\n}\n// Output: SARL NAUTIC MOTOR'S EVASION (529591737)\n// NAUTIC MOTOR'S EVASION 35 (810622795)\n```\n\n#### Search a company by its number (identifier).\n\n```go\napi := opencorporates.API()\ncompany, _ := api.CompanyByID(\"529591737\", \"fr\")\nprintln(company.Name+\" #\"+ company.Number)\n// Output: SARL NAUTIC MOTOR'S EVASION (529591737)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frvflash%2Fopencorporates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frvflash%2Fopencorporates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frvflash%2Fopencorporates/lists"}