Files
MediaFire-Stream-API/README.md

37 lines
1.5 KiB
Markdown
Raw Normal View History

2018-05-06 18:59:43 +08:00
# MediaFire-Stream-API
Grab MediaFire stream link
2018-05-23 17:32:16 +08:00
## Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
### Prerequisites
- Web Hosting or VPS ([DigitalOcean](https://m.do.co/c/f5dea4b5cce3))
- PHP 5+ (suggest to use PHP 7.x)
## Deployment
Put all files into the Public/htdocs directory.
2018-05-16 10:57:58 +08:00
## Usage
### Json API
2018-05-06 18:59:43 +08:00
`http://<yourserver.com>/mediafire.php?url=<MediaFire File Link>`
2018-05-06 19:03:43 +08:00
2018-05-22 23:16:30 +08:00
Live Demo: http://hklcf.rf.gd/mediafire/mediafire.php?url=http://www.mediafire.com/file/8x5ol3r8wpb477a/small.mp4
2018-05-16 10:56:58 +08:00
2018-05-16 10:57:58 +08:00
### Embed API
2018-05-16 10:56:58 +08:00
`http://<yourserver.com>/embed.php?url=<MediaFire File Link>`
2018-05-22 23:16:30 +08:00
Live Demo: http://hklcf.rf.gd/mediafire/embed.php?url=http://www.mediafire.com/file/8x5ol3r8wpb477a/small.mp4
2018-05-23 17:32:16 +08:00
## Contributing
Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.
## Versioning
We use [SemVer](https://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/hklcf/MediaFire-Stream-API/tags).
## Authors
* **HKLCF** - *Initial work* - [HKLCF](https://github.com/hklcf)
See also the list of [contributors](https://github.com/hklcf/MediaFire-Stream-API/contributors) who participated in this project.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details