Hi,
we have a customer that runs his own espoCrm server. We connect to this and import the data to his website that runs on our server.
This customer complains about the serverload while we request the data.
I am using this script: API Client Implementation in PHP - EspoCRM Documentation
The customer gave us an api-key, this script applies this on every request. My supervisor tells me this are too much authentifications and asks me, if it possible to reduce it only to once authenfitication. As far as i know about the api-key system, it is required on every request as i know this type from other api systems like the old EVE-Online api.
The question is, is there a way for once authentication and using this, that reduce the impact on the server? Like auth-token and access-token system?
The "Basic Authentication" seems to return a token (the documentation tell it, i can't test it) but i think it does not help on the performance issue.
I have no direct access to the espoCrm, just only the api-key.
Does every request require the full authentication data so the server does always a full authentication process?
What options could i have, that the server does not get too busy while we request all the data?
If you ask for how request we do, good question, we request the data with a limit of 200, this shoulds ends in 7 request for the data and close to possible 600 for images.
we have a customer that runs his own espoCrm server. We connect to this and import the data to his website that runs on our server.
This customer complains about the serverload while we request the data.
I am using this script: API Client Implementation in PHP - EspoCRM Documentation
The customer gave us an api-key, this script applies this on every request. My supervisor tells me this are too much authentifications and asks me, if it possible to reduce it only to once authenfitication. As far as i know about the api-key system, it is required on every request as i know this type from other api systems like the old EVE-Online api.
The question is, is there a way for once authentication and using this, that reduce the impact on the server? Like auth-token and access-token system?
The "Basic Authentication" seems to return a token (the documentation tell it, i can't test it) but i think it does not help on the performance issue.
I have no direct access to the espoCrm, just only the api-key.
Does every request require the full authentication data so the server does always a full authentication process?
What options could i have, that the server does not get too busy while we request all the data?
If you ask for how request we do, good question, we request the data with a limit of 200, this shoulds ends in 7 request for the data and close to possible 600 for images.