Skip to content

MicrosoftTranslator/Text-Translation-API-V3-PHP

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

Text-Translation-API-V3-PHP

Prerequisites

You will need PHP 5.6.x to run this code.

You must have a Cognitive Services API account with Microsoft Translator Text API. You will need a paid subscription key from your Azure dashboard.

Code samples

The code in this repository contains examples for all of the Microsoft Text Translator V3 API methods. Each file demonstrates a single method. To try out a method:

Create a new PHP project in your favorite IDE.

Add the provided code.

Replace the key value with an access key valid for your subscription.

Run the program.

Translator Text API Reference