No description
Find a file
2019-08-24 11:35:44 +02:00
.gitignore Scrape Types as well. 2019-08-14 11:03:56 +02:00
cl-scrape-telegram-api.asd Add package definitions. 2019-08-14 11:04:12 +02:00
generate-api.ros add Docs 2019-08-14 11:24:08 +02:00
Makefile Generating methods works. 2019-08-12 23:02:00 +02:00
package.lisp Add package definitions. 2019-08-14 11:04:12 +02:00
README.md update readme 2019-08-14 11:26:22 +02:00
scrape.lisp tweaking for arrays 2019-08-24 11:35:44 +02:00
utils.lisp Scrape Types as well. 2019-08-14 11:03:56 +02:00

CL-SCRAPE-TELEGRAM-API

Scrapes the online api reference for methods an type definitions. The scraped methods and types are transformed into lisp functions and classes to be used in the cl-telegram package.

Usage

  1. Use the command line utility generate-api.ros [output-file] [api-url] with both args optional.
  2. Load the system in the repl and execute (tg-scrape:scrape-to-disk).
    (ql:quickload :cl-scrape-telegram-api)
    (tg-scrape:scrape-to-disk :out-file "file.lisp")
    

Todo

  • Generate type checking for arrays
  • Generate constructors