承接 jizuscreed/lingualeoclient 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jizuscreed/lingualeoclient

最新稳定版本:1.0.2

Composer 安装命令:

composer require jizuscreed/lingualeoclient

包简介

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

README 文档

README

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

Installation

composer require jizuscreed/lingualeoclient

Quickstart

Authorization:

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

Getting user profile data:

$linguaLeoClient->user;

Getting user's dictionary:

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

Getting materials collections:

$collections = $linguaLeoClient->getCollections();

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

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

Getting material full text:

$materials[0]->getFullText();

Getting word's translations:

$linguaLeoClient->getWordTranslations('attraction');

统计信息

  • 总下载量: 23
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2015-06-29