{"id":16419897,"url":"https://github.com/jpadilla/alchemyapi-go","last_synced_at":"2025-02-24T16:15:27.259Z","repository":{"id":21151946,"uuid":"24454359","full_name":"jpadilla/alchemyapi-go","owner":"jpadilla","description":"Go client library for AlchemyAPI","archived":false,"fork":false,"pushed_at":"2014-11-20T17:08:17.000Z","size":188,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-07T05:15:23.884Z","etag":null,"topics":["alchemyapi","go"],"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/jpadilla.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-09-25T10:49:20.000Z","updated_at":"2024-04-17T21:19:10.000Z","dependencies_parsed_at":"2022-07-19T22:48:34.100Z","dependency_job_id":null,"html_url":"https://github.com/jpadilla/alchemyapi-go","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpadilla%2Falchemyapi-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpadilla%2Falchemyapi-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpadilla%2Falchemyapi-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpadilla%2Falchemyapi-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jpadilla","download_url":"https://codeload.github.com/jpadilla/alchemyapi-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240511296,"owners_count":19813236,"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":["alchemyapi","go"],"created_at":"2024-10-11T07:26:18.842Z","updated_at":"2025-02-24T16:15:27.230Z","avatar_url":"https://github.com/jpadilla.png","language":"Go","readme":"# Go AlchemyAPI [![Build Status](https://travis-ci.org/jpadilla/alchemyapi-go.svg?branch=master)](https://travis-ci.org/jpadilla/alchemyapi-go)\n\nGo client library for [AlchemyAPI](http://www.alchemyapi.com/).\n\n## Supported API Calls\n\n- Text Extraction\n    - URLGetText\n    - URLGetTitle\n\n\n## Versioning\n\nEach revision of the binding is tagged and the version is updated accordingly.\n\nGiven Go's lack of built-in versioning, it is highly recommended you use a\n[package management tool](https://code.google.com/p/go-wiki/wiki/PackageManagementTools) in order\nto ensure a newer version of the binding does not affect backwards compatibility.\n\nTo see the list of past versions, run `git tag`. To manually get an older\nversion of the client, clone this repo, checkout the specific tag and build the\nlibrary:\n\n```sh\ngit clone https://github.com/jpadilla/alchemyapi-go.git\ncd alchemyapi-go\ngit checkout api_version_tag\nmake build\n```\n\n## Installation\n\n```\ngo get github.com/jpadilla/alchemyapi-go\n```\n\n## Documentation\n\nFor details on all the functionality in this library, see the [GoDoc](http://godoc.org/github.com/jpadilla/alchemyapi-go) documentation.\n\n## Example usage\n\n```go\npackage main\n\nimport (\n    \"log\"\n\n    alchemyapi \"github.com/jpadilla/alchemyapi-go\"\n)\n\nfunc main() {\n    alchemyAPIKey = \"ALCHEMY_API_KEY\"\n    alchemyClient := alchemyapi.New(alchemyAPIKey)\n\n    titleResponse, err := alchemyClient.GetTitle(data.URL, alchemyapi.GetTitleOptions{})\n\n    if err != nil {\n        log.Fatal(err)\n    }\n\n    log.Printf(\"%v\\n\", titleResponse.Title)\n\n    textResponse, err := alchemyClient.GetText(data.URL, alchemyapi.GetTextOptions{})\n\n    if err != nil {\n        log.Fatal(err)\n    }\n\n    log.Printf(\"%v\\n\", textResponse.Text)\n}\n\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpadilla%2Falchemyapi-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjpadilla%2Falchemyapi-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpadilla%2Falchemyapi-go/lists"}