summaryrefslogtreecommitdiff
path: root/handler.h
AgeCommit message (Collapse)Author
2021-07-16Order functionality draftꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
Not tested yet. Now the item object is still flattened as an array, initially to hurry the interfacing with the Perl module. But we were stuck with having to typemap char *** anyway, so we switch to SWIG because of the potential of ease. Still, we need to typemap char ***, but now that we're at SWIG, we might as well typemap a custom item struct.
2021-07-16Generalise the response handlerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
so the common part gets to be reused.
2021-07-14When debugging, debugs for all services/companiesꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
because libcurl's verbose will hit anyway. There's no point trying to debug for a company and not the others.
2021-06-29Rename variablesꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-06-28Join 2 linesꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-06-28Shorten services_trail to just trailꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-06-28Handle whose status is other than 200ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
At the same time, refactor the JSON handling.
2021-06-28Simplify the enumsꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-06-27Shipping API client frameworkꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
with 1 module so far.