According to the docs (https://posthog.com/docs/libraries/python#installation) posthog.api_key has been deprecated in favour of posthog.project_api_key.
However, when I use project_api_key with the current version, 1.3.1, it does not work, while api_key does.
According to the docs (https://posthog.com/docs/libraries/python#installation)
posthog.api_keyhas been deprecated in favour ofposthog.project_api_key.However, when I use
project_api_keywith the current version, 1.3.1, it does not work, whileapi_keydoes.