CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • Get the Events from start_date
Pages: [1]

Author Topic: Get the Events from start_date  (Read 393 times)

crschalper

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
  • CiviCRM version: 4.7.8
  • CMS version: Wordpress 4.7.1
  • MySQL version: 2.2
  • PHP version: 2.2
Get the Events from start_date
March 24, 2015, 11:55:42 am
Hey everyone!

I'm using the CiviCRM API and I need to get all the events that are starting from today. So I think it should be something like:
civicrm_api('Event','Get',$params)

where in the $params I need to pass that filter (I think).... How do I do that?  ??? ???

Thanks!!

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Get the Events from start_date
March 24, 2015, 12:02:21 pm
The API explorer is really good at helping with this sort of thing.
Try asking your question on the new CiviCRM help site.

crschalper

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
  • CiviCRM version: 4.7.8
  • CMS version: Wordpress 4.7.1
  • MySQL version: 2.2
  • PHP version: 2.2
Re: Get the Events from start_date
March 24, 2015, 12:12:38 pm
Where can I find the API Explorer??

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Get the Events from start_date
March 24, 2015, 12:17:27 pm
In the civicrm menu, go to Help -> Developer
Try asking your question on the new CiviCRM help site.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • Get the Events from start_date

This forum was archived on 2017-11-26.