Laravel Package for work with web service aparat

v2.2.2 2022-04-05 14:51 UTC

README

package for work with web service aparat

How install package?

  • composer require meysammaghsoudi/aparat
  • php artisan vendor:publish

Requirement*

composer require guzzlehttp/guzzle

Important

  • set luser and lpass and username aparat on file aparat config
  • use lpass with sha1(md5(lpass))

Features

  • Get Profile
  • Get Videos
  • Upload Video

Use Routes

  • /aparat/videos
  • /aparat/getProfile
  • /aparat/sendVideo

or use of methods:

  • getVideos
  • getProfile
  • sendVideo

Example

  • use meysammaghsoudi\LaravelAparat\Aparat;
  • $aprat = new Aparat();
  • $aprat->getVideos()