Search
Follow Us
Categories
- News Release(3)
Tag Archives: API
How to Use New Login Method in Plugins and Services
This article explains how to use the new method LoginUser, added to the new GroupDocs SDK.
Requirements
- PHP 5.3
- Apache ModRewrite
- PHP Curl extension
- PHP Sockets extension (php_sockets.dll)
- GroupDocs PHP SDK
- composer.phar (Download from http://getcomposer.org/download/ or use the included version.)
- FatFree framework (https://github.com/bcosca/fatfree)
Posted in zArchive Tagged API, document management, GroupDocs API, GroupDocs PHP SDK, GroupDocs Plugins, php api
How to Upload PHP Project to Heroku? – Advanced Steps
In the previous article, we learned how to create a new PHP project on Heroku. But sometimes our project requires additional extensions that do not exist in the Heroku PHP configuration. So we need to find out how to create and install extensions for PHP on Heroku.
In this post, I’ll show you these advanced steps, and create a PHP project on Heroku with the GroupDocs PHP SDK Api Samples application.
Preparation
All required preparation are described in previous article… Continue Reading
Posted in zArchive Tagged API, git, GroupDocs PHP SDK, Heroku, heroku toolbelt
How to Merge Data Fields from a DOCX File with a Data Source and Output to PDF
This article explains how to get the fields from a template DOCX file, fill them with data and merge to new PDF file using GroupDocs.
Requirements
- PHP 5.3
- Apache ModRewrite
- PHP Curl extension
- PHP Sockets extension (php_sockets.dll)
- GroupDocs PHP SDK
- composer.phar (Download from http://getcomposer.org/download/ or use the included version.)
- FatFree framework (https://github.com/bcosca/fatfree)
Posted in zArchive Tagged API, document collaboration, document management, online document management system, php api
Two Ways of Uploading Files into a GroupDocs Account
Working with GroupDocs SDK we usually need a GUID to work with a document. But it’s not very comfortable for users to work with GUIDs. So in your app, you can use two methods to upload a file to a GroupDocs account and get it’s GUID programmatically.
Requirements
- PHP 5.3
- Apache ModRewrite
- PHP Curl extension
- PHP Sockets extension (php_sockets.dll)
- GroupDocs PHP SDK
- composer.phar (Download from http://getcomposer.org/download/ or use the included version.)
- FatFree framework (https://github.com/bcosca/fatfree)
Posted in zArchive Tagged API, document collaboration, document management, online document management system, php api
How to perform Callbacks with GroupDocs PHP SDK
This article explains the basics of using PHP SDK callbacks. In this article I’ll use the Convert API. Find information about other methods in the Swagger explorer.
Requirements
- PHP 5.3
- Apache ModRewrite
- PHP Curl extension
- PHP Sockets extension (php_sockets.dll)
- GroupDocs PHP SDK
- composer.phar (Download from http://getcomposer.org/download/ or use the included version)
- FatFree framework (https://github.com/bcosca/fatfree)
Posted in zArchive Tagged API, document collaboration, document management, online document management system, php api
How to Compare Files with GroupDocs PHP SDK
This article explains the basics of using PHP SDK classes and methods. In this article I’ll use the Comparison API and show how to compare two documents from a GroupDocs account. Find information about other methods in the Swagger explorer.
Requirements
- PHP 5.3
- Apache ModRewrite
- PHP Curl extension
- PHP Sockets extension (php_sockets.dll)
- GroupDocs PHP SDK
- composer.phar (Download from http://getcomposer.org/download/ or use the included version)
- FatFree framework (https://github.com/bcosca/fatfree)
Posted in zArchive Tagged API, document comparison, GroupDocs API, GroupDocs API SDK, GroupDocs Comparison
How to Create GroupDocs Viewer Plugin for Contao CMS
This article explains the basics of creating a plugin for the Contao CMS using the Contao Viewer plugin as an example. You can download the completed plugin from Contao.
Requirements
- Contao CMS
- PHP 5.3
- JavaScript
Preparation
To create a GroupDocs Viewer plugin for Contao CMS:- Install Contao CMS. The installation of this CMS is a simple.
- Allow GroupDocs <iframe> to appear go to Admin > Setting > Security settings > Allowed HTML tags and just add <iframe> at
Posted in zArchive Tagged API, GroupDocs Viewer, GroupDocs Viewer Plugin, online document viewer, View documents online
How to Deploy .NET Project on the AppHarbor
This article explains the basics of using AppHarbor. In this article, I’ll use the .NET SDK Samples project to show how to deploy a .NET project on AppHarbor.
Requirements
- .NET project
- App account
- GitHub
Preparing
First of all, we need a AppHarbor account. If you don’t have one yet, please create one. Registration on AppHarbor is similar to any other site: sign up from the AppHarbor home page by clicking the Sign up button. Ok now we have AppHarbor… Continue Reading Posted in zArchive Tagged API, document management, GroupDocs API SDK, online document management system
How to use rspec to test GroupDocs API – Part 2
In the first article, How to use rspec to test GroupDocs API. Part 1, we created first test for GroupDocs API. This article describes in details how tests works, what expectation and matchers are, and how to test an API with the PULL method.
Expectation and Matchers
So what are expectation and matchers? Lets look at a small example:string ="GroupDocs" string.should have(9).characters string.should_not have(5).characters
- Expectations are defined by should and the negative form should_not.
- Matchers are defined
Posted in zArchive Tagged API, document management, GroupDocs API, GroupDocs API SDK, online document management system
How to Use RSpec to Test GroupDocs API? – Part 1
In this article, we will review how to use Ruby RSpec for testing REST APIs like GroupDocs. RSpec is a BDD (behavior driven development) framework. You can find more info about RSpec on its official site. There are a lot of different GroupDocs APIs that you can use. In this article we will test one of the User APIs: “Get user profile”.
What You Need
You need Ruby, Gem, Bundler, and RSpec (gem install rspec) installed on you computer.… Continue Reading Posted in zArchive Tagged API, document management, document upload, online document management system