{"id":38955620,"url":"https://github.com/lix-it/api-examples","last_synced_at":"2026-01-17T16:15:42.396Z","repository":{"id":224801823,"uuid":"738259038","full_name":"lix-it/api-examples","owner":"lix-it","description":"Examples for the Lix API","archived":false,"fork":false,"pushed_at":"2025-12-17T14:52:01.000Z","size":92,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-21T03:04:40.159Z","etag":null,"topics":["linkedin","linkedin-api","linkedin-scraper"],"latest_commit_sha":null,"homepage":"https://lix-it.com/docs","language":null,"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/lix-it.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-01-02T20:11:27.000Z","updated_at":"2025-12-17T14:52:05.000Z","dependencies_parsed_at":"2025-12-17T23:07:25.754Z","dependency_job_id":null,"html_url":"https://github.com/lix-it/api-examples","commit_stats":null,"previous_names":["lix-it/api-examples"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lix-it/api-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lix-it%2Fapi-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lix-it%2Fapi-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lix-it%2Fapi-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lix-it%2Fapi-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lix-it","download_url":"https://codeload.github.com/lix-it/api-examples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lix-it%2Fapi-examples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28511854,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["linkedin","linkedin-api","linkedin-scraper"],"created_at":"2026-01-17T16:15:41.900Z","updated_at":"2026-01-17T16:15:42.389Z","avatar_url":"https://github.com/lix-it.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lix API Examples\nThese examples are designed to demonstrate how to use the Lix API. The examples show you how to query the API on your machine and store the results for processing.\n\nAll scripts are fault-tolerant, meaning if your internet connection drops or the API is slow, the script will continue to run and store the results in the database. If you restart the script, it will continue from where it left off.\n\nFor full API documentation check out https://lix-it.com/docs\n\n# Environment\n\n## Python\n\n[Poetry](https://python-poetry.org/) is used to manage the dependencies and Python versions.\n\n### Set up venv\n```bash\npoetry install\npoetry shell\n```\n\n# How to use the examples\nThis repository is organised into two streams, `guides` and `use cases`. The `guides` stream demonstrates how to use the Lix API to query the capabilities of the API using simple scripts. The `use cases` stream demonstrates how to use the Lix API to query the API for specific use cases, like people enrichment, company finding, or lead generation at scale.\n\nAll the scripts assume you are running them from the root directory of the project.\n\n## Running guides\nGuides are simple scripts that demonstrate how to use the Lix API to query the capabilities of the API.\n\nThe `examples/guides` package contains the code to query the Lix API. All the responses will be saved to the /data directory.\n\n## Running use cases\nUse cases store the data in a database and have associated scripts to export the data to a CSV file.\n\nThe `examples/use_cases` package contains the code to query the Lix API and save the data into an SQLite database. The `examples/use_cases/export` package contains example code to export the results from the SQLite database to a CSV file.\n\n1. Run the migrate command on the script you want to use. This will create the database and tables as an SQLite file in the root directory of the project.\n2. Load the input data into the SQLite database. \n3. Run the export command on the script you want to use. This will export the data from the SQLite database to a CSV file.\n\n### Loading data\nTo load the data into the SQLite database you will need to run the import script. This changes with each script. For each script you will need to ensure that you have a file with the correct layout\n\nYou can also load the data into the SQLite table yourself:\n\nMore information on SQLite importing here https://www.sqlite.org/cli.html#importing_files_as_csv_or_other_formats","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flix-it%2Fapi-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flix-it%2Fapi-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flix-it%2Fapi-examples/lists"}