F.H.U. ANNAPOL (Hurtownia RTV AGD Zabawki)

+48 32 388 12 22
+48 32 388 12 28

Open: Monday - Friday from 9.00 to 16.00

Polski English German
Your cart     Check out
0 items in shopping cart
Languages
Whats New?








F.H.U. ANNAPOL
Mariusz Kamiński
Ul. Jagiellońska 15
41-902 Bytom

Opening hours: Monday–Friday — from 8 a.m. to 4 p.m.
Saturday — closed

Contact our warehouse:

phone: +48 32 3881228 
Sales department — extensions: 21,22 or 23
Complaints department — extension 24

cell: +48 513835578
phone/fax: +48 32 3881222

Complaints:

phone: +48 32 3881228, extension 24
reklamacje@annapol.pl

Technical matters:

phone/fax: +48 32 3881228, extension 24
techniczny@annapol.pl

Other warehouses:

www.annapol.pl
www.annapol.eu
www.annapol.com.pl

www.zabawkizdalniesterowane.pl

Sales representatives - the warehouse:

handlowy@annapol.pl
annapol@annapol.com
annapol@annapol.pl

ORDER COLLECTION:

ul. Jagiellońska 15/7
41-902 Bytom

Opening hours:
Monday–Friday — from 8 a.m. to 4 p.m.
Saturday — closed

Contact:

phone/fax: +48 32 3881222 magazyn@annapol.pl


News and Site Information.
Providing PHP Library for simple XML integration   Date: Wednesday, 21 August 2019

To facilitate integration with our warehouse, a simple PHP Library has been made available that allows you to open and integrate an XML file, this applies only to file xml-products (i.e. https://www.annapol.com/xml-products.php?user......).

The library can be downloaded immediately after logging in by going to:

a) Section Your account:
https://www.annapol.com/account.php?language=en


b) Or by downloading the library directly from the address:
https://www.annapol.com/xml-example-library/annapol.xml.class.example.zip        

The library contains the main file: products-xml.class.php and an example of use, file example.php and also file readme.txt where additional technical details are included.

File example.php contains a simple configuration in lines 7 to 13:

$config = [

    // Expiries downloaded xml file

    'expiries' => 60*60,

    // URL xml file

    'url' => 'https://www.annapol.com/xml-products.php?user=EMAIL_ADDRESS&hash=YOUR_HASH'

];

Variable: expiries contains the validity time of the XML file (60*60 means 1 hour)

Variable: url contains the address of the XML file given in tab Your account (after logging in);

The rest of the code shows the library implementation, in the following order:

1) Invoking library

2) Downloading the XML file if it is missing or expired.

3) Getting an table of products in an XML file in the form of ARRAY

4) Printing the first record from the ARRAY table on the screen.

The library DEMO looks like this: https://www.annapol.com/xml-example-library/demo/  Demo is an example of use.

In addition, it allows you to check whether the XML file is correctly generated and shows 1 record from it.

Every programmer will know how to use it.

In addition, we would like to inform you that the current xml-products file (https://www.annapol.com/xml-products.php?user ......) has been improved and there should be no problems with opening it.

We recommend using the browser Firefox – Mozilla which is best for opening and saving XML files.
However, it is best to use the mentioned PHP Library.




Viewed:166
Continue


Despite our best efforts we cannot guarantee that the published materials are free of errors or discrepancies. However, these oversights cannot be a basis for any claims. Photos of products listed on the website annapol.pl, may slightly differ from the actual look of goods that are currently on sale. In case of any doubts please contact FHU ANNAPOL

Copyright ©2019 https://www.annapol.com
All prices with tax excluded.
Soft & Design © 2014 Mysklep.pl
All rights reserved.

We use cookies and similar technologies primarily for the provision of services and statistics.
Using the site without changing your browser settings means that they will be placed on your terminal equipment.
Remember that you can always change these settings. For more information, see the Privacy Policy. I understand the policy of cookies - close