Skip to content
examples in several languages showcasing the use of the Ujeebu API
Java JavaScript C# PHP Python Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
PHP
c#/cs-example
java
js
python
ruby
README.md
ujeebu-benchmark-urls.json

README.md

Ujeebu API

Ujeebu is a set of APIs that provide developers with extraction, text analysis and language detection capabilities.

check demo

Ujeebu examples:

  • Java

    To run the Java example we use the Apache HttpClient library to make the API request and the Gson library to process the JSON received.

         cd java
         ## compile java class
         # for unix or mac
         javac -cp ".:./lib/*" .\RequestExample.java
         # for windows
         #javac -cp ".;./lib/*" .\RequestExample.java
    
         ## run the code
         # For unix or mac
         java -cp ".;./lib/*" RequestExample
         # for windows
         #java -cp ".:./lib/*" RequestExample
  • Python

    cd python
    # install requests library
    pip install  -r requirements.txt
    python requests-example.py
    
  • Javascript

    cd js
    # install request package
    npm install
    node  request-example.js
  • PHP

    cd php
    php request-example.php
  • Ruby

    cd ruby
    # install httpparty gem
    gem install httparty
    ruby http-party-example.rb
  • C#

    cd c#/cs-example
    # add needed packages
    dotnet add package RestSharp --version 106.2.1
    dotnet add package Newtonsoft.Json --version 11.0.1
    # run
    dotnet run
You can’t perform that action at this time.