Advantages and Potentials



Language Support


                
import requests
import json

server = 'https://www.plates-analysis.com/'

key = 'place your api key here'

payload = {
    'key': key,
    'bc': 'cccc',
    'phi': 0.5,
    'lamb': 56.3,
    'sai_x': 0,
    'sai_y': 0,
    'nu_e': 0.33,
    'q': 20,
    'e_to_e7': 174.3,
    'bucking_mode': 1,
}

response = requests.post(url=server, json=payload)

ks = json.loads(response.content)['ret']['ks']

print(ks)
            
                
server='https://www.plates-analysis.com/';

key='place your api key here';

options = weboptions('MediaType','application/json',  'Timeout', 1000);

resp=webwrite(server, struct('key', key, 'bc', 'cccc',  'phi', 0.5,'lamb', 56.3,'sai_x', 0,'sai_y', 0,'nu_e', 0.33,'q', 20,'e_to_e7', 174.3,'bucking_mode', 1), options);

resp.ret.ks

                
            
                
    curl -X 'POST' \
'https://www.plates-analysis.com/?key=place_your_api_key_here&bc=cccc&phi=0.5&lamb=56.3&sai_x=0&sai_y=0&nu_e=0.33&q=20&e_to_e7=174.3&bucking_mode=1' \
-H 'accept: application/json'
                
            
                
function api_call() {
    $.ajax({
        type: "POST",
        url: "https://www.plates-analysis.com/",
        contentType: "application/json",
        data: JSON.stringify({
            'key': 'place_your_api_key_here',
            'bc': 'cccc',
            'phi': 0.5,
            'lamb': 56.3,
            'sai_x': 0,
            'sai_y': 0,
            'nu_e': 0.33,
            'q': 20,
            'e_to_e7': 174.3,
            'bucking_mode': 1
        }),
        dataType: "json",
        success: function (response) {
            ks = (response.ret.ks).toString()
            console.log(ks)
        },
    });
}