How to add retrieving Declarations? (Build DeclarationApiConnector)
jhjvandenbroek opened this issue · 2 comments
I need some guidance since the architecture of php-twinfield is quite complex.
What steps need to be taken to add calls to the Declarations queries as defined in Twinfield:
/webservices/declarations.asmx?wsdl
I've prepared some things for you on the feature/declarations branch which you could use as a reference of as a starting point.
I created the DeclarationService
and the DeclarationApiConnector
classes and made a start on implementing the GetAllSummaries
query. I've added @todo
comments in the following commit 7f55c35 which should show you what's left to do.
Let me know if this helps!
Thank you for these pointers and the code. I took a look and it seems fairly straightforward to me now.
However by now we've implemented our own connector (without the use of this package). It is a good fit for us as we needed only a few endpoints. I'm not sure if I will return to this package any time in the future.