Questions tagged [api]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
35 views

EE API to get Entries outside of the EE environment

i want to build an APP which need access to channels of my EE instance. I found Open API (https://github.com/putyourlightson/open-api) but it is outdated (last change > 5 yrs). Is there another way to ...
0
votes
1answer
57 views

Api_channel_fields - cannot add group id

I'm trying to add a new field to a group using the API but it doesn't work (according to the docs it is supposed to be a key). I have tried running the example code but the 'group_id' field is ...
0
votes
1answer
317 views

Can you use Reactjs with ee?

I am new to EE (also coding so might seem naive) and was wondering if there is any way to connect my ReactJS project, that i created with create-react-app, with EE. create-react-app docs here: https:/...
0
votes
2answers
250 views

Member Login API

Please excuse me because I am extremely new to ExpressionEngine, and I don't quite understand how to achieve this... I have been searching for a RESTful API plugin, or an example on how to develop one ...
0
votes
1answer
65 views

create select field using api with name/value pairs

Anyone have any example or documentation to create a select field using the EE api in a channel group with name/value pairs for the select option. I cannot find anything on how to do that. I am able ...
0
votes
1answer
59 views

Google Maps plugin: API error

I've got a long running EE install that uses the old Google Map plugin. Lately though, we've been seeing this error in the CP you have exceeded your daily request quota for this API I've seen one ...
1
vote
1answer
117 views

Preventing SQL Injections

In a EE plugin if I construct a sql statement based on passed in parameters and use a EE->db->query($sql) call does the query function prevent SQL Injections or do I need to change my code to use some ...
4
votes
1answer
98 views

External Website Post to EE Entries

I have never worked with another Third Party System before that prefers to push data to me than provide an API to just pull that data down as needed - but they have their reasons they say! On that ...
0
votes
1answer
76 views

Passing a GET variable back in a query while using mysqli_real_escape_string()

I'm trying to take a variable that's passed in a query string (GET) and then use that variable to do a SELECT based on it... // Assign query string to a variable while sanitizing it against XSS $...
0
votes
1answer
93 views

Channel Entries API Error: Undefined property: EE::$stats

This error appears during execution of the Channels Entry API in an API extension: A PHP Error was encountered Severity: Notice Message: Undefined property: EE::$stats Filename: api/...
1
vote
1answer
53 views

Duplicating an entry based on entry_id

I'm having a small issue creating a script that take in an entry_id, and based on that creates a new carbon copy entry with a new entry_id. I've got this working, however as it stands now i'm forced ...
0
votes
1answer
96 views

Cartthrob - Presales questions

I have just sent this to the CT team but am open to as much advice as possible so thought id put it out here too. Is this type of Q even allowed on here? Q: I am just reading the docs trying to ...
1
vote
0answers
75 views

Channel Entries API title issue

I'm using Expression Engine's Channel Entries API and am having an issue with it. User can add credits to their name. The storing of these credits work fine. If they choose to update their profile ...
2
votes
1answer
163 views

How to create a button on the Entry Edit page?

Basically, what i'm attempting to do is create a [button] right next to the entry save/submit button that will grab the current entries entry_id and pass it to a page we control. I'm staring at the ...
1
vote
2answers
338 views

How to create a Grid field in extension [duplicate]

I’m creating an extension that on installation, programmatically creates a channel and fields for that channel. One of the fields I’d like to create is a Grid field to store PDF documents against an ...
0
votes
3answers
205 views

How to import API data into EE

If I wanted to consume API feeds (restful) and import that data into EE as entries, is that possible? Ideally I would like to import a bulk amount of channels (once only), then a bunch of categories ...
2
votes
2answers
253 views

Channel Entry API and Grid field

I'm looking for a way to handle a grid field with the channel entry API. Documentation has nothing, and could barely find anything else online about except for this: Inserting a new Grid row using ...
1
vote
2answers
115 views

Payment Gateway Integration API Directory

I downloaded PayU Integration API php files to be used in EE2, but I am not too sure in which directory to store it? It's not a module or something similar, its just 3 API files I need to reference in ...
4
votes
2answers
321 views

Inserting a new Grid row using the API

I looked at the documentation in ExpressionEngine about saving/updating a channel entry row. Unfortunately, the documentation doesn't show anything about adding a new Grid row. Is it possible to do ...