Hi all,
This will sound like a total, random question, but just looking for some advice on how you guys would approach this.
I'm trying to work with the following API - https://developer.duedil.com/docs/pro but having followed he docs through and coded to an interface, I get null returned.
I have contacted Duedil about this to see if they can help but I thought I'd ask the Laravel community to advise how best to do this.
All i want to do is search for a company by name and/or company number, send that request to Duedil for them to return back a JSON response so I can use it as I wish.
I'm actually looking for the best way to write the API into my Laravel app in order to get this to work the way I want.
If anyone could advise best way, i've coded to an interface to start with is this best practice?
you should get a response upon what you requested if on their endeverything is well. So if you send a request with application/json as the content type you can expect to get jso back.
Did you set your API/Sanbox API correctly in the request?
You need to set the KEY with the API key you got from DueDil. The key must be set in every request as an URL parameter as per documentation: https://developer.duedil.com/docs/pro#api-key
Hi all! I see the thread is actually 2 years old but still if people are interested there is new DueDil API v4. I am technical lead in the API here at DueDil and just wanted to share the new developments and possibly help with any technical questions.
Here is the documentation page https://www.duedil.com/api/docs it's brand new API and we've worked hard to make it easy to integrate and user-friendly. It's based on Swagger Specification (OpenAPI) which allows easy integration with many languages and frameworks. If you want to test the API you could use Postman (https://www.getpostman.com/) which will allow you to import the JSON spec (https://duedil.io/v4/swagger.json) and send HTTP requests to the API.