<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described below step by step
<END_TASK>
<USER_TASK:>
Description:
 Talking to the  NPO Frontend API with PYTHON
You can instantiate a client like so
Step1:  The credentials where read from a config file. If that file would not have existed, the user would have been requested to provide the api key, secret and origin, and the config file would have been created then for the next time.
The 'env' option influences to which api it will talk. It can be "test" (default), "dev" and "prod"
Step2:  Now you can do actual requests
<ASSISTANT_TASK:>
Python Code:
client = Media(env="test", debug=False).configured_login(create_config_file=True)
Explanation: Talking to the  NPO Frontend API with PYTHON
You can instantiate a client like so
End of explanation
client.url
Explanation: The credentials where read from a config file. If that file would not have existed, the user would have been requested to provide the api key, secret and origin, and the config file would have been created then for the next time.
The 'env' option influences to which api it will talk. It can be "test" (default), "dev" and "prod"
End of explanation
result = client.get("POMS_NTR_388772") 
print(json.dumps(json.loads(result), indent=1))
client.get("bla")
Explanation: Now you can do actual requests
End of explanation
<END_TASK>