2017 © Pedro Peláez
 

library lingualeoclient

A library for access to LinguaLeo.com content by API from Android-app

image

jizuscreed/lingualeoclient

A library for access to LinguaLeo.com content by API from Android-app

  • Sunday, October 23, 2016
  • by jizuscreed
  • Repository
  • 1 Watchers
  • 0 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 14 % Grown

The README.md

LinguaLeoClient

A library for access to LinguaLeo.com content by API from Android-app. It can: - auth by user - getting user's dictionary - getting collections of materials - getting materials from collection - getting translation for any word or phrase from lingualeo base, (*1)

Installation

composer require jizuscreed/lingualeoclient

Quickstart

Authorization:, (*2)

$linguaLeoClient = new LinguaLeoClient\Client($userEmail, $userPassword);

Getting user profile data:, (*3)

$linguaLeoClient->user;

Getting user's dictionary:, (*4)

$dictionary = $linguaLeoClient->getDictionary($startLimit, $chunkLimit, $onlyWords);

Getting materials collections:, (*5)

$collections = $linguaLeoClient->getCollections();

Getting materials from collection (grabs list of materials with its datas and preview):, (*6)

$materials = $linguaLeoClient->getMaterialsFromCollection(Collection $collection, $chunkOffset, $chunkLimit);

Getting material full text:, (*7)

$materials[0]->getFullText();

Getting word's translations:, (*8)

$linguaLeoClient->getWordTranslations('attraction');

The Versions

23/10 2016

dev-master

9999999-dev

A library for access to LinguaLeo.com content by API from Android-app

  Sources   Download

GPL-3.0+

The Requires

 

by Avatar jizuscreed

api lingualeo