Skip to content

Commit

Permalink
Merge pull request ixpantia#43 from ronnyhdez/T38
Browse files Browse the repository at this point in the history
Ref ixpantia#38 examples documentation
  • Loading branch information
FvD authored Aug 14, 2020
2 parents 04dce5d + d709e30 commit db0304f
Show file tree
Hide file tree
Showing 8 changed files with 61 additions and 0 deletions.
7 changes: 7 additions & 0 deletions R/get_account_information.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ NULL
#' @param user_code The user code to identify your account
#' @param api_token The api token to connect to your account
#'
#'@examples
#'\dontrun{
#'get_account_information(user_code = "6A6E88",
#' api_token = "FBHV7C")
#'}
#'
#'
#' @export
get_account_information <- function(user_code, api_token) {
if (missing(user_code)) {
Expand Down
7 changes: 7 additions & 0 deletions R/get_contact_information.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ NULL
#' @param contact_id The contact name or other term to make an specific call
#' to the API.
#'
#' @examples
#'\dontrun{
#'get_contact_information(user_code = "6A6E88",
#' api_token = "TQ9XM",
#' contact_id = "Fulano")
#'}
#'
#' @export
get_contact_information <- function(user_code, api_token, contact_id = "") {
if (missing(user_code)) {
Expand Down
7 changes: 7 additions & 0 deletions R/get_pipeline_report.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ NULL
#' @param api_token The api token to connect to your account
#' @param pipelineid The id of the pipeline you want to get the report from
#'
#' @examples
#'\dontrun{
#'get_pipeline_report(user_code = "6A6E88",
#' api_token = "96066",
#' pipelineid = "57102821")
#'}
#'
#' @export
get_pipeline_report <- function(user_code, api_token, pipelineid) {
if (missing(user_code)) {
Expand Down
8 changes: 8 additions & 0 deletions R/search_contacts.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ NULL
#' @param search_term The contact name or other term to make an specific call
#' to the API. If you want to search for group enter "Group:GROUP_NAME"
#'
#'
#' @examples
#'\dontrun{
#'search_contacts(user_code = "6A6E88",
#' api_token = "TQ9XM",
#' search_term = "brenesii")
#'}
#'
#' @export
search_contacts <- function(user_code, api_token, search_term = "") {
if (missing(user_code)) {
Expand Down
8 changes: 8 additions & 0 deletions man/get_account_information.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions man/get_contact_information.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions man/get_pipeline_report.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions man/search_contacts.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit db0304f

Please sign in to comment.