{"id":19069927,"url":"https://github.com/ansango/lastfm-client-ts","last_synced_at":"2025-10-25T03:03:24.938Z","repository":{"id":128618614,"uuid":"610035434","full_name":"ansango/lastfm-client-ts","owner":"ansango","description":"A node ts lastfm client api","archived":false,"fork":false,"pushed_at":"2023-03-13T22:58:18.000Z","size":184,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-02T15:48:49.498Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ansango.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-06T00:07:20.000Z","updated_at":"2024-11-28T01:10:38.000Z","dependencies_parsed_at":"2023-05-30T03:30:37.205Z","dependency_job_id":null,"html_url":"https://github.com/ansango/lastfm-client-ts","commit_stats":{"total_commits":49,"total_committers":2,"mean_commits":24.5,"dds":"0.020408163265306145","last_synced_commit":"6e26de1bd3b848cb816e0a6442256b3bff6bb2c7"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansango%2Flastfm-client-ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansango%2Flastfm-client-ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansango%2Flastfm-client-ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansango%2Flastfm-client-ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ansango","download_url":"https://codeload.github.com/ansango/lastfm-client-ts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240122572,"owners_count":19751142,"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":[],"created_at":"2024-11-09T01:16:13.292Z","updated_at":"2025-10-25T03:03:24.889Z","avatar_url":"https://github.com/ansango.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lastfm-client-ts\r\n\r\n[![NPM Version](https://img.shields.io/npm/v/lastfm-client-ts.svg?branch=main)](https://www.npmjs.com/package/lastfm-client-ts)\r\n[![Downloads Per Week](https://img.shields.io/npm/dw/lastfm-client-ts.svg?color=blue)](https://www.npmjs.com/package/lastfm-client-ts)\r\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\r\n\r\n## Table of Contents\r\n\r\n- [lastfm-client-ts](#lastfm-client-ts)\r\n  - [Table of Contents](#table-of-contents)\r\n  - [About ](#about-)\r\n  - [Getting Started ](#getting-started-)\r\n    - [Installing](#installing)\r\n    - [Usage](#usage)\r\n    - [Environment Variables](#environment-variables)\r\n    - [Fullytyped](#fullytyped)\r\n  - [Contributing](#contributing)\r\n\r\n## About \u003ca name = \"about\"\u003e\u003c/a\u003e\r\n\r\nLast.fm API client for Node.js\r\n\r\n## Getting Started \u003ca name = \"getting_started\"\u003e\u003c/a\u003e\r\n\r\n### Installing\r\n\r\n```bash\r\nnpm install lastfm-client-ts\r\n```\r\n\r\n### Usage\r\n\r\n```typescript\r\nimport { lastFmClient } from \"lastfm-client-ts\";\r\n\r\nconst {\r\n  userApiMethods,\r\n  albumApiMethods,\r\n  artistApiMethods,\r\n  chartApiMethods,\r\n  geoApiMethods,\r\n  libraryApiMethods,\r\n  tagApiMethods,\r\n  trackApiMethods,\r\n} = lastFmClient();\r\n\r\nexport default async function handler() {\r\n  const response = userApiMethods.getInfo({\r\n    user: \"ansango\",\r\n  });\r\n  return {\r\n    response,\r\n  };\r\n}\r\n```\r\n\r\n### Environment Variables\r\n\r\nTo run this project, you will need to add the following environment variables to your .env file\r\n\r\n- `LASTFM_API_BASE_URL=http://ws.audioscrobbler.com/2.0/`\r\n- `LASTFM_USER=`\r\n- `LASTFM_API_KEY=`\r\n- `LASTFM_APPNAME=`\r\n\r\n### Fullytyped\r\n\r\nThis project is fully typed with TypeScript.\r\n\r\n## Contributing\r\n\r\nContributions are always welcome!\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fansango%2Flastfm-client-ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fansango%2Flastfm-client-ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fansango%2Flastfm-client-ts/lists"}