urban-plus-plus

Easy to use C++ wrapper for the Urban Dictionary API

MIT License

Stars
2
Committers
1

Bot releases are hidden (Show)

urban-plus-plus - v1.3.0 - Major changes Latest Release

Published by NMrocks over 2 years ago

The user now must create an object of the Initializer class before doing anything else. Have a look at the README/doc for more info

Also the class now sticks to the Rule of 3 instead of the Rule of 0. See commit 91f7872 for more info.

Download source code zip/tarball from below and use the urban++.hpp file in the include directory

urban-plus-plus - v1.2.0 - Resource management changes

Published by NMrocks over 2 years ago

The class now sticks to the Rule of 0, i.e. it does not manage any resources thanks to smart pointers.
I've also fixed some possible One Definition Rule violations because of member functions being defined and declared separately.

Download source code zip/tarball from below and use the urban++.hpp file in the include directory

urban-plus-plus - v1.1.0 - Major bugfix/improvement

Published by NMrocks over 2 years ago

The setSearchTerm() function now uses libcurl's curl_easy_escape() function to URL encode the search string (which was previously only partially done using std::regex_replace()) which means you can now use search strings with symbols easily. Earlier the search results for strings with symbols omitted the symbols in the search string because of improper parsing.

Download source code zip/tarball from below and use the urban++.hpp file in the include directory

urban-plus-plus - v1.0.3 - 2 New Functions :)

Published by NMrocks over 2 years ago

Added sizeOfJSON() and rawJSON() which return the size of the json response array and the raw response JSON respectively which provide more flexibility to the user

Download source code zip/tarball from below to use the library

urban-plus-plus - v1.0.2 - Better error detection

Published by NMrocks over 2 years ago

The fetch() method now returns CURLE_GOT_NOTHING when no search result is found for the given search term

Download source code zip/tarball from below and use the urban++.hpp file in the include directory

urban-plus-plus - Initial release

Published by NMrocks over 2 years ago

Library is now ready for use.

Download source code zip/tarball from below and use the urban++.hpp file in the include directory