diff --git a/README.md b/README.md index 4f43708..28d8851 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,14 @@ # TGScraper -A PHP library used to extract JSON data (and auto-generate PHP classes) from [Telegram bot API documentation page](https://core.telegram.org/bots/api). -**Note: the scraper is, obviously, based on a hack and you shouldn't rely on automagically generated files from it, since they are prone to errors. I'll try to fix them ASAP, but manual review is always required (at least for now).** +[![License](http://poser.pugx.org/sysbot/tgscraper/license)](https://packagist.org/packages/sysbot/tgscraper) +![Required PHP Version](https://img.shields.io/badge/php-%E2%89%A58.0-brightgreen) +[![Latest Stable Version](http://poser.pugx.org/sysbot/tgscraper/v)](https://packagist.org/packages/sysbot/tgscraper) + +A PHP library used to extract JSON data (and auto-generate PHP classes) +from [Telegram bot API documentation page](https://core.telegram.org/bots/api). + +**Note: the scraper is, obviously, based on a hack and you shouldn't rely on automagically generated files from it, +since they are prone to errors. I'll try to fix them ASAP, but manual review is always required (at least for now).** ## Installation @@ -14,6 +21,7 @@ Install the library with composer: ## Using from command line Once installed, you can use the CLI to interact with the library: + ```bash $ vendor/bin/tgscraper ``` \ No newline at end of file diff --git a/ReturnTypeExtractor.php b/ReturnTypeExtractor.php new file mode 100644 index 0000000..b3d9bbc --- /dev/null +++ b/ReturnTypeExtractor.php @@ -0,0 +1 @@ +