https://github.com/kuba160/dscrd
Discord C library
https://github.com/kuba160/dscrd
c discord library
Last synced: 3 months ago
JSON representation
Discord C library
- Host: GitHub
- URL: https://github.com/kuba160/dscrd
- Owner: kuba160
- Created: 2019-03-24T12:23:17.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-24T13:03:17.000Z (over 7 years ago)
- Last Synced: 2025-02-23T19:17:55.331Z (over 1 year ago)
- Topics: c, discord, library
- Language: C
- Homepage: https://kuba160.github.io/dscrd/
- Size: 516 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dscrd
dscrd is a C library for Discord API. Library is not to be considered in any way as completed and it probably will never be.
## Build
Project uses `premake5` for building. To compile you also need: `libmagic-dev` `libwebsockets-dev` (and `rest-client-c` which is included)
* Run `premake5 gmake`
* Run `make dscrd` or `make` to build with examples.
## Code structure
`docs/html` - generated documentation by using `doxygen` (or `doxygen Doxyfile_i` for dev)
`dscrd_daemon` - a program that allows other programs to access auth info through dscrd library
`examples` - various examples showing usage of `libdscrd` and `libjts` (remember to put your token in `src/auth_data.h`)
`lib` - libdscrd source files
`lib/con` - code that wraps up REST and websockets connections
`lib/jts` - `jsonToStruct` library for simpler processing of json data
`rest-client-c` - [source-code of rest-client-c](https://github.com/EMCECS/rest-client-c)
`scripts` - scripts to concatenate headers into one (`dscrd.h` and `dscrd_i.h`)