API Client Libraries can facilitate your use of the Criteo API allowing you to build unique and customized solutions to serve your businesses and clients. These libraries can reduce the amount of code you need to write in order to start accessing Criteo programmatically. They also can help expedite troubleshooting, should you encounter any issues.
API clients are generated for each support API version and service. You can find each currently up-to-date SDKs in the /sdks folders. You will find specific instructions on how to build each SDKs if you wish to do so yourself.
Each of the generated SDKs is also published on PyPi
The version number contains the API version in its first two digits:
Example for the marketingsolutions API and using the most recent stable API version
pip install criteo-api-marketingsolutions-sdk
Example for the marketingsolutions API and 2021-10 version
pip install criteo-api-marketingsolutions-sdk==2021.10.*
Then import the package:
import criteo_api_marketingsolutions_v2021_10
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.