2017 © Pedro PelĂĄez
 

library req

HTTP requests and XPATH queries in a simpler way

image

saci/req

HTTP requests and XPATH queries in a simpler way

  • Monday, November 16, 2015
  • by ronaldoaf
  • Repository
  • 1 Watchers
  • 0 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

alt tag, (*1)

saci/req

HTTP requests and XPATH queries in a simpler way, (*2)

Install

Including to your current composer.json, (*3)

Add this line into require in your composer.json:, (*4)

"saci/req": "*"

and use autoload.php to include the classes, (*5)

Example usage

require 'vendor/autoload.php'

$req=New \Saci\Req('http://www.google.com');

$req->query("//a[@class='gbgt']");

Documentation

Input Parameters


method

Description: Any HTTP Method: GET, POST, PUT, DELETE, (*6)

Type: String, (*7)

Default: GET, (*8)


fields

Description: Fields for Post Requests, (*9)

Type: String or Array, (*10)

Default: GET, (*11)

The Versions

16/11 2015

dev-master

9999999-dev https://github.com/ronaldoaf/saci-req

HTTP requests and XPATH queries in a simpler way

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-curl *
  • ext-dom *

 

by Ronaldo AraĂșjo de Farias

curl http query xpath scraping

15/11 2015

1.0.0

1.0.0.0 https://github.com/ronaldoaf/saci-req

HTTP requests and XPATH queries in a simpler way

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-curl *
  • ext-dom *

 

by Ronaldo AraĂșjo de Farias

curl http query xpath scraping