You are acting as Data Consumer. First, set your authentication token to access the FAME TM Public API. You can get this token after login to the FAME marketplace (in the browser session storage). This token will be used to authenticate all subsequent API calls.
Create a new data offering. You can create different types of offerings:
POST /tm/v1.0/offerings
Mint payment tokens that will be used to purchase data access tokens. This is typically done by the governance module.
POST /tm/v1.0/payment-tokens/mint
Approve the PaymentToken contract to spend your tokens in the FameBourse contract. This step is required before purchasing data access tokens.
Generate unsigned transaction to purchase a data access token and presents it to the user. This will allow you to access the data specified in the offering.
Verify that you have the necessary access tokens to access the data. This will check if your purchase was successful.