Skip to content

Laravel Package for work with web service site aparat

License

Notifications You must be signed in to change notification settings

meysam1366/LaravelAparat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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()