Programme test API