FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
api-example/createProduct.php at master · pointergr/api-example · GitHub
pointergr
/
api-example
Public
Notifications
You must be signed in to change notification settings
Fork
2
Star
1
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
api-example
/
createProduct.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
7 lines (7 loc) · 240 Bytes
Breadcrumbs
api-example
/
createProduct.php
Copy path
File metadata and controls
7 lines (7 loc) · 240 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
<?php
include
(
"
pointer_api.php
"
);
$
api
=
new
pointer_api
();
$
api
->
login
(
'
YOUR_API_USERNAME
'
,
'
YOUR_API_PASSWORD
'
);
$
api
->
productCreate
(
'
DOMAIN_NAME_FOR_PRODUCT
'
,
'
DURATION_IN_MONTHS
'
,
0
,
'
PRODUCT_CODE
'
,
null
);
$
api
->
logout
();
?>
Back
|
FazBrowse Home
|
New Git URL