{"repo":"AudDMusic/audd-go","free":true,"listed":false,"github":"https://github.com/AudDMusic/audd-go","clone":"git clone https://github.com/AudDMusic/audd-go.git","description":"AudD Golang API Library","language":"Go","stars":54,"topics":["music-recognition","music-recognition-api","music","recognition","api","audd","shazam","shazam-api","go","golang"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"audd-go Official Go SDK for music recognition API: identify music from a short audio clip, a long audio file, or a live stream. The API itself is so simple that it can easily be used even without an SDK: docs.audd.io. Hello, AudD Get your API token at dashboard.audd.io. Identify a song hosted at a URL: Identify a song from a local file path: Recognize accepts a URL string, a file-path string, []byte , or any io.Reader . For longer audio files, use client.RecognizeEnterprise(source, &audd.EnterpriseOptions{Limit: ptr(1)}) , which returns []EnterpriseMatch across the file's chunks. Each match carries the same core tags plus Score , StartSeconds , EndSeconds , StartOffset , EndOffset , ISRC , UPC . Access to ISRC , UPC , and Score requires a Startup plan or higher — contact us for enterprise features. StartSeconds and EndSeconds ( float64 ) tell you where the song plays in your file, in seconds — the match's position measured from the start of the upload. They are precise because the SDK requests accurate offsets by default; set AccurateOffsets to a non-nil false to opt out. StartOffset and EndOffset sit behind them as the raw fragment-relative milliseconds. StartSeconds / EndSeconds are nil when a chunk arrives without a usable offset. Every method has an explicit-context twin: RecognizeContext(ctx, source, opts) , Streams().AddContext(ctx, req) , Advanced().FindLyricsContext(ctx, query) , and so on. The plain form is the default for short scripts; the Context form is what you ","default_branch":null,"files":null,"tree":[],"storefront":"/r/AudDMusic","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/AudDMusic/audd-go/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}