> ## Documentation Index
> Fetch the complete documentation index at: https://docs.peopledatalabs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Go SDK

# The People Data Labs Go Helper Library

The People Data Labs Go Helper Library makes it easy to interact with our APIs from your Go application. You can find the [most recent version of the library on Go Packages](https://pkg.go.dev/github.com/peopledatalabs/peopledatalabs-go).

## How To Install the Library

This library is available as a Go package, and you can install it like this:

```bash Shell theme={null}
go get github.com/peopledatalabs/peopledatalabs-go
```

## Using the Library

Make sure that you sign up for a [free PDL API key](https://www.peopledatalabs.com/signup) if you don't already have one.

```go Go expandable theme={null}
package main

import (
    "fmt"
    "context"
)

// See https://github.com/peopledatalabs/peopledatalabs-go
import (
    pdl "github.com/peopledatalabs/peopledatalabs-go"
    pdlmodel "github.com/peopledatalabs/peopledatalabs-go/model"
)

func main() {
    // Set your API key
    apiKey := "API_KEY"
    // Set API key as environmental variable
    // apiKey := os.Getenv("API_KEY")

    // Create a client, specifying your API key
    client := pdl.New(apiKey)
    
    // Create a parameters JSON object
    params := pdlmodel.EnrichPersonParams {
        PersonParams: pdlmodel.PersonParams {
            Profile: []string{"linkedin.com/in/seanthorne"},
        },
    }

    // Pass the parameters object to the Person Enrichment API
    result, err := client.Person.Enrich(context.Background(), params)

    // Print the API response
    if err == nil {
        fmt.Printf("Status: %d, FullName: %s\n", result.Status, result.Data.FullName)
    }  
}
```

## More Information, Pull Requests, Feature Suggestions and Bug Reports

We've open-sourced the library, which is available on GitHub. Go there to view more information. You can also submit pull requests, feature suggestions and bug reports.

<Card title="GitHub - peopledatalabs/peopledatalabs-go" href="https://github.com/peopledatalabs/peopledatalabs-go" icon="github">
  A Go client for the People Data Labs API
</Card>


## Related topics

- [July 2022 Release Notes](/changelog/july-2022-release-notes-v19.md)
- [Python SDK](/docs/python-sdk.md)
- [Ruby SDK](/docs/ruby-sdk.md)
- [Rust SDK](/docs/rust-sdk.md)
- [JavaScript SDK](/docs/javascript-sdk.md)
