{"id":27921,"library":"legit-api-client","title":"Legit API Client","description":"The official Python client for the Legit inventory management API. Provides ORM-like models and a client for managing assets, locations, custom fields, and more. Actively maintained with frequent releases.","status":"active","version":"1.1.4785","language":"python","source_language":"en","source_url":"https://github.com/GIT_USER_ID/GIT_REPO_ID","tags":["inventory","api-client","legit"],"install":[{"cmd":"pip install legit-api-client","lang":"bash","label":"latest"}],"dependencies":[{"reason":"HTTP client for API calls","package":"requests","optional":false}],"imports":[{"wrong":"from legit_api_client import Client","symbol":"ApiClient","correct":"from legit_api_client import ApiClient"}],"quickstart":{"code":"from legit_api_client import Client\n\nclient = Client(api_key=os.environ.get('LEGIT_API_KEY', ''))\nassets = client.assets.list()\nprint(assets)","lang":"python","description":"Initialize with an API key and fetch a list of assets."},"warnings":[{"fix":"Use 'api_key' instead of 'token'.","message":"In version 1.0, the Client constructor changed from requiring a 'token' parameter to 'api_key'.","severity":"breaking","affected_versions":"<1.0"},{"fix":"Wrap with list() if you need a list: list(client.assets.list())","message":"All list methods return a Generator, not a list. You must iterate or convert to list explicitly.","severity":"gotcha","affected_versions":"all"},{"fix":"Use client.assets.retrieve(id) instead of client.assets.get(id).","message":"The method 'client.assets.get()' is deprecated in favor of 'client.assets.retrieve()'.","severity":"deprecated","affected_versions":">=1.1"}],"env_vars":null,"search_vec":"'activ':30 'api':2,13,37 'api-cli':36 'asset':24 'client':3,7,21,38 'custom':26 'field':27 'frequent':33 'inventori':11,35 'legit':1,10,39 'like':17 'locat':25 'maintain':31 'manag':12,23 'model':18 'offici':5 'orm':16 'orm-lik':15 'provid':14 'python':6 'releas':34","created_at":"2026-05-09T05:52:47.102997+00:00","updated_at":"2026-05-09T05:52:47.102997+00:00","problems":null,"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/GIT_USER_ID/GIT_REPO_ID","docs":null,"changelog":null,"pypi":"https://pypi.org/project/legit-api-client/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["http-networking","crm-productivity"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-08-02","install_tag":null}}